#[repr(C)]pub struct ucp_am_handler_param {
pub field_mask: u64,
pub id: c_uint,
pub flags: u32,
pub cb: ucp_am_recv_callback_t,
pub arg: *mut c_void,
}Expand description
@ingroup UCP_WORKER @brief Active Message handler parameters passed to @ref ucp_worker_set_am_recv_handler routine.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_am_handler_param_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
id: c_uintActive Message id.
flags: u32Handler flags as defined by @ref ucp_am_cb_flags.
cb: ucp_am_recv_callback_tActive Message callback. To clear the already set callback, this value should be set to NULL.
arg: *mut c_voidActive Message argument, which will be passed in to every invocation of @ref ucp_am_recv_callback_t function as the @a arg argument.
Trait Implementations§
Source§impl Clone for ucp_am_handler_param
impl Clone for ucp_am_handler_param
Source§fn clone(&self) -> ucp_am_handler_param
fn clone(&self) -> ucp_am_handler_param
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_am_handler_param
impl Debug for ucp_am_handler_param
impl Copy for ucp_am_handler_param
Auto Trait Implementations§
impl Freeze for ucp_am_handler_param
impl RefUnwindSafe for ucp_am_handler_param
impl !Send for ucp_am_handler_param
impl !Sync for ucp_am_handler_param
impl Unpin for ucp_am_handler_param
impl UnwindSafe for ucp_am_handler_param
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