Type Alias ucp_request_cleanup_callback_t

Source
pub type ucp_request_cleanup_callback_t = Option<unsafe extern "C" fn(request: *mut c_void)>;
Expand description

@ingroup UCP_CONTEXT @brief Request cleanup callback.

This callback routine is responsible for cleanup of the memory associated with the request.

@param [in] request Request handle to cleanup.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.