Struct hyparview::message::NeighborMessage[][src]

pub struct NeighborMessage<T> {
    pub sender: T,
    pub high_priority: bool,
}

NEIGHBOR message.

This is used for refilling active view shrunk by node disconnections.

In this crate, it is also used for notifing to new node that HyParView level connection has been established (in that case the value of high_priority always be set to true).

Fields

The node ID of the message sender.

Whether the priority of the sender is high or low.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

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

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