pub struct Membership { /* private fields */ }
Expand description
Information about a node that joined/left a group.
Implementations§
Source§impl Membership
impl Membership
Sourcepub fn socket_ref(&self) -> u32
pub fn socket_ref(&self) -> u32
The unique socket ref for the process that opened the socket. This value is used when sending a message to a specific socket (unicasting).
Sourcepub fn node_ref(&self) -> u32
pub fn node_ref(&self) -> u32
The reference ID of the node where the process is running. This value is used when sending a message to a specific socket (unicasting).
Sourcepub fn service_type(&self) -> u32
pub fn service_type(&self) -> u32
The (possibly not unique) address to which the socket was bound. This value is used when [any/broad/multi]casting.
Sourcepub fn service_instance(&self) -> u32
pub fn service_instance(&self) -> u32
The (possibe not unique) instance to which the socket was bound. This value is used when [any/broad/multi]casting.
Trait Implementations§
Source§impl Debug for Membership
impl Debug for Membership
Auto Trait Implementations§
impl Freeze for Membership
impl RefUnwindSafe for Membership
impl Send for Membership
impl Sync for Membership
impl Unpin for Membership
impl UnwindSafe for Membership
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