#[repr(C)]pub struct ucp_conn_request_attr {
pub field_mask: u64,
pub client_address: sockaddr_storage,
pub client_id: u64,
}Expand description
@ingroup UCP_WORKER @brief UCP listener’s connection request attributes.
The structure defines the attributes that characterize the particular connection request received on the server side.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_conn_request_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
client_address: sockaddr_storageThe address of the remote client that sent the connection request to the server.
client_id: u64Remote client id if remote endpoint’s flag @ref UCP_EP_PARAMS_FLAGS_SEND_CLIENT_ID is set.
Trait Implementations§
Source§impl Clone for ucp_conn_request_attr
impl Clone for ucp_conn_request_attr
Source§fn clone(&self) -> ucp_conn_request_attr
fn clone(&self) -> ucp_conn_request_attr
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_conn_request_attr
impl Debug for ucp_conn_request_attr
impl Copy for ucp_conn_request_attr
Auto Trait Implementations§
impl Freeze for ucp_conn_request_attr
impl RefUnwindSafe for ucp_conn_request_attr
impl Send for ucp_conn_request_attr
impl Sync for ucp_conn_request_attr
impl Unpin for ucp_conn_request_attr
impl UnwindSafe for ucp_conn_request_attr
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