Struct hyparview::message::ShuffleMessage[][src]

pub struct ShuffleMessage<T> {
    pub sender: T,
    pub origin: T,
    pub nodes: Vec<T>,
    pub ttl: TimeToLive,
}

SHUFFLE message.

This and SHUFFLE_REPLY messages are used for shuffling passive views of two nodes.

Fields

The node ID of the message sender.

The ID of the origin node that emitted the shuffle request.

The nodes selected by origin for shuffling.

TTL of the message.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for ShuffleMessage<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 ShuffleMessage<T>
[src]

Auto Trait Implementations

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

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