Type Alias esp_idf_sys::esp_netif_receive_t
source · pub type esp_netif_receive_t = Option<unsafe extern "C" fn(esp_netif: *mut esp_netif_t, buffer: *mut c_void, len: usize, eb: *mut c_void) -> esp_err_t>;
Expand description
@brief ESP-NETIF Receive function type
Aliased Type§
enum esp_netif_receive_t {
None,
Some(unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void, _: usize, _: *mut c_void) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void, _: usize, _: *mut c_void) -> i32)
Some value of type T
.