Type Alias esp_idf_sys::pbuf_free_custom_fn

source ·
pub type pbuf_free_custom_fn = Option<unsafe extern "C" fn(p: *mut pbuf)>;
Expand description

Prototype for a function to free a custom pbuf

Aliased Type§

enum pbuf_free_custom_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut pbuf)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut pbuf))

Some value of type T.