Enum hyparview::message::ProtocolMessage[][src]

pub enum ProtocolMessage<T> {
    Join(JoinMessage<T>),
    ForwardJoin(ForwardJoinMessage<T>),
    Neighbor(NeighborMessage<T>),
    Shuffle(ShuffleMessage<T>),
    ShuffleReply(ShuffleReplyMessage<T>),
    Disconnect(DisconnectMessage<T>),
}

Messages used for inter-node communication.

Variants

JOIN message.

FORWARD_JOIN message.

NEIGHBOR message.

SHUFFLE message.

SHUFFLE_REPLY message.

DISCONNECT messsage.

Methods

impl<T> ProtocolMessage<T>
[src]

Returns the node ID of the sender of the message.

Trait Implementations

impl<T: Debug> Debug for ProtocolMessage<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for ProtocolMessage<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for ProtocolMessage<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for ProtocolMessage<T>
[src]

Auto Trait Implementations

impl<T> Send for ProtocolMessage<T> where
    T: Send

impl<T> Sync for ProtocolMessage<T> where
    T: Sync