pub type ucp_send_callback_t = Option<unsafe extern "C" fn(request: *mut c_void, status: ucs_status_t)>;Expand description
@ingroup UCP_COMM @brief Completion callback for non-blocking sends.
This callback routine is invoked whenever the @ref ucp_tag_send_nb “send operation” is completed. It is important to note that the call-back is only invoked in a case when the operation cannot be completed in place.
@param [in] request The completed send request. @param [in] status Completion status. If the send operation was completed successfully UCS_OK is returned. If send operation was canceled UCS_ERR_CANCELED is returned. Otherwise, an @ref ucs_status_t “error status” is returned.
Aliased Type§
enum ucp_send_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: ucs_status_t)),
}