Skip to main content

esp_netif_receive_t

Type Alias 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§

pub enum esp_netif_receive_t {
    None,
    Some(unsafe extern "C" fn(*mut esp_netif_obj, *mut c_void, usize, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut esp_netif_obj, *mut c_void, usize, *mut c_void) -> i32)

Some value of type T.