#[repr(C)]pub struct ucp_err_handler {
pub cb: ucp_err_handler_cb_t,
pub arg: *mut c_void,
}Expand description
@ingroup UCP_COMM @brief UCP endpoint error handling context.
This structure should be initialized in @ref ucp_ep_params_t to handle peer failure
Fields§
§cb: ucp_err_handler_cb_t< Error handler callback, if NULL, will not be called.
arg: *mut c_void< User defined argument associated with an endpoint, it will be overridden by @ref ucp_ep_params_t::user_data if both are set.
Trait Implementations§
Source§impl Clone for ucp_err_handler
impl Clone for ucp_err_handler
Source§fn clone(&self) -> ucp_err_handler
fn clone(&self) -> ucp_err_handler
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ucp_err_handler
impl Debug for ucp_err_handler
impl Copy for ucp_err_handler
Auto Trait Implementations§
impl Freeze for ucp_err_handler
impl RefUnwindSafe for ucp_err_handler
impl !Send for ucp_err_handler
impl !Sync for ucp_err_handler
impl Unpin for ucp_err_handler
impl UnwindSafe for ucp_err_handler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more