#[repr(C)]pub struct ucp_ep_attr {
pub field_mask: u64,
pub name: [c_char; 32],
pub local_sockaddr: sockaddr_storage,
pub remote_sockaddr: sockaddr_storage,
}Expand description
@ingroup UCP_ENDPOINT @brief UCP endpoint attributes.
The structure defines the attributes that characterize the particular endpoint.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_ep_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
name: [c_char; 32]Endpoint name. Tracing and analysis tools can identify the endpoint using this name.
local_sockaddr: sockaddr_storageLocal socket address for this endpoint. Valid only for endpoints created by connecting to a socket address. If this field is specified for an endpoint not connected to a socket address, UCS_ERR_NOT_CONNECTED will be returned.
remote_sockaddr: sockaddr_storageRemote socket address this endpoint is connected to. Valid only for endpoints created by connecting to a socket address. If this field is specified for an endpoint not connected to a socket address, UCS_ERR_NOT_CONNECTED will be returned.
Trait Implementations§
Source§impl Clone for ucp_ep_attr
impl Clone for ucp_ep_attr
Source§fn clone(&self) -> ucp_ep_attr
fn clone(&self) -> ucp_ep_attr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more