Struct tipc::Membership [−][src]
Information about a node that joined/left a group.
Implementations
impl Membership
[src]
pub fn socket_ref(&self) -> u32
[src]
The unique socket ref for the process that opened the socket. This value is used when sending a message to a specific socket (unicasting).
pub fn node_ref(&self) -> u32
[src]
The reference ID of the node where the process is running. This value is used when sending a message to a specific socket (unicasting).
pub fn service_type(&self) -> u32
[src]
The (possibly not unique) address to which the socket was bound. This value is used when [any/broad/multi]casting.
pub fn service_instance(&self) -> u32
[src]
The (possibe not unique) instance to which the socket was bound. This value is used when [any/broad/multi]casting.
pub fn joined(&self) -> bool
[src]
true
indicates a join, false
indicates a leave
Trait Implementations
impl Debug for Membership
[src]
impl Display for Membership
[src]
Auto Trait Implementations
impl RefUnwindSafe for Membership
impl Send for Membership
impl Sync for Membership
impl Unpin for Membership
impl UnwindSafe for Membership
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,