Type Alias esp_idf_sys::esp_event_handler_t

source ·
pub type esp_event_handler_t = Option<unsafe extern "C" fn(event_handler_arg: *mut c_void, event_base: esp_event_base_t, event_id: i32, event_data: *mut c_void)>;

Aliased Type§

enum esp_event_handler_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32, _: *mut c_void))

Some value of type T.