Type Alias esp_idf_svc::hal::sys::esp_netif_find_predicate_t
source · pub type esp_netif_find_predicate_t = Option<unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void) -> bool>;
Expand description
@brief Predicate callback for esp_netif_find_if() used to find interface which meets defined criteria
Aliased Type§
enum esp_netif_find_predicate_t {
None,
Some(unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void) -> bool),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void) -> bool)
Some value of type T
.