Type Alias uct_async_event_cb_t

Source
pub type uct_async_event_cb_t = Option<unsafe extern "C" fn(arg: *mut c_void, flags: c_uint)>;
Expand description

@ingroup UCT_RESOURCE @brief Callback to process asynchronous events.

@param [in] arg User argument to be passed to the callback. @param [in] flags Flags to be passed to the callback (reserved for future use).

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.