Type Alias uct_completion_callback_t

Source
pub type uct_completion_callback_t = Option<unsafe extern "C" fn(self_: *mut uct_completion_t)>;
Expand description

@ingroup UCT_RESOURCE @brief Callback to process send completion.

@param [in] self Pointer to relevant completion structure, which was initially passed to the operation.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.