#[repr(C)]pub struct uct_cm_remote_data {
pub field_mask: u64,
pub dev_addr: *const uct_device_addr_t,
pub dev_addr_length: size_t,
pub conn_priv_data: *const c_void,
pub conn_priv_data_length: size_t,
}Expand description
@ingroup UCT_CLIENT_SERVER @brief Data received from the remote peer.
The remote peer’s device address, the data received from it and their lengths. Used with the client-server API on a connection manager.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref uct_cm_remote_data_field. Fields not specified by this mask will be ignored.
dev_addr: *const uct_device_addr_tDevice address of the remote peer.
dev_addr_length: size_tLength of the remote device address.
conn_priv_data: *const c_voidPointer to the received data. This is the private data that was passed to @ref uct_ep_params_t::sockaddr_pack_cb.
conn_priv_data_length: size_tLength of the received data from the peer.
Trait Implementations§
Source§impl Clone for uct_cm_remote_data
impl Clone for uct_cm_remote_data
Source§fn clone(&self) -> uct_cm_remote_data
fn clone(&self) -> uct_cm_remote_data
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 uct_cm_remote_data
impl Debug for uct_cm_remote_data
impl Copy for uct_cm_remote_data
Auto Trait Implementations§
impl Freeze for uct_cm_remote_data
impl RefUnwindSafe for uct_cm_remote_data
impl !Send for uct_cm_remote_data
impl !Sync for uct_cm_remote_data
impl Unpin for uct_cm_remote_data
impl UnwindSafe for uct_cm_remote_data
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