[][src]Enum hbbft::sender_queue::Message

pub enum Message<M: SenderQueueableMessage> {
    EpochStarted(M::Epoch),
    Algo(M),
}

A SenderQueue message.

Variants

EpochStarted(M::Epoch)

The announcement that this node has reached the given epoch.

Algo(M)

A message of the wrapped algorithm.

Trait Implementations

impl<M: SenderQueueableMessage> From<M> for Message<M>[src]

impl<M: Clone + SenderQueueableMessage> Clone for Message<M> where
    M::Epoch: Clone
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<M: Debug + SenderQueueableMessage> Debug for Message<M> where
    M::Epoch: Debug
[src]

impl<M: SenderQueueableMessage> Serialize for Message<M> where
    M: Serialize,
    M::Epoch: Serialize
[src]

impl<'de, M: SenderQueueableMessage> Deserialize<'de> for Message<M> where
    M: Deserialize<'de>,
    M::Epoch: Deserialize<'de>, 
[src]

impl<M: SenderQueueableMessage> Distribution<Message<M>> for Standard where
    Standard: Distribution<M> + Distribution<M::Epoch>, 
[src]

fn sample_iter<R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
    R: Rng
[src]

Create an iterator that generates random values of T, using rng as the source of randomness. Read more

Auto Trait Implementations

impl<M> Send for Message<M> where
    M: Send,
    <M as SenderQueueableMessage>::Epoch: Send

impl<M> Sync for Message<M> where
    M: Sync,
    <M as SenderQueueableMessage>::Epoch: Sync

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]