Skip to main content

esp_netif_callback_fn

Type Alias esp_netif_callback_fn 

Source
pub type esp_netif_callback_fn = Option<unsafe extern "C" fn(ctx: *mut c_void) -> esp_err_t>;
Expand description

@brief TCPIP thread safe callback used with esp_netif_tcpip_exec()

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.