#[repr(C)]pub struct ucp_listener_attr {
pub field_mask: u64,
pub sockaddr: sockaddr_storage,
}Expand description
@ingroup UCP_WORKER @brief UCP listener attributes.
The structure defines the attributes which characterize the particular listener.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_listener_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
sockaddr: sockaddr_storageSockaddr on which this listener is listening for incoming connection requests.
Trait Implementations§
Source§impl Clone for ucp_listener_attr
impl Clone for ucp_listener_attr
Source§fn clone(&self) -> ucp_listener_attr
fn clone(&self) -> ucp_listener_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_listener_attr
impl Debug for ucp_listener_attr
impl Copy for ucp_listener_attr
Auto Trait Implementations§
impl Freeze for ucp_listener_attr
impl RefUnwindSafe for ucp_listener_attr
impl Send for ucp_listener_attr
impl Sync for ucp_listener_attr
impl Unpin for ucp_listener_attr
impl UnwindSafe for ucp_listener_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