pub type ucp_stream_recv_callback_t = Option<unsafe extern "C" fn(request: *mut c_void, status: ucs_status_t, length: size_t)>;Expand description
@ingroup UCP_COMM @brief Completion callback for non-blocking stream oriented receives.
This callback routine is invoked whenever the @ref ucp_stream_recv_nb “receive operation” is completed and the data is ready in the receive buffer.
@param [in] request The completed receive request. @param [in] status Completion status. If the send operation was completed successfully UCS_OK is returned. Otherwise, an @ref ucs_status_t “error status” is returned. @param [in] length The size of the received data in bytes, always boundary of base datatype size. The value is valid only if the status is UCS_OK.
Aliased Type§
enum ucp_stream_recv_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: ucs_status_t, _: u32)),
}