Type Alias ucs_event_set_handler_t

Source
pub type ucs_event_set_handler_t = Option<unsafe extern "C" fn(callback_data: *mut c_void, events: ucs_event_set_types_t, arg: *mut c_void)>;
Expand description

ucs_event_set_handler call this handler for notifying event

@param [in] callback_data User data which set in ucs_event_set_add(). @param [in] events Detection event. Sets of ucs_event_set_types_t. @param [in] arg User data which set in ucs_event_set_wait().

Aliased Type§

enum ucs_event_set_handler_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u8, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u8, _: *mut c_void))

Some value of type T.