Struct tipc::Membership[][src]

pub struct Membership { /* fields omitted */ }

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.