[][src]Enum hbbft::broadcast::Message

pub enum Message {
    Value(Proof<Vec<u8>>),
    Echo(Proof<Vec<u8>>),
    Ready([u8; 32]),
}

The three kinds of message sent during the reliable broadcast stage of the consensus algorithm.

Variants

Value(Proof<Vec<u8>>)

A share of the value, sent from the sender to another validator.

Echo(Proof<Vec<u8>>)

A copy of the value received from the sender, multicast by a validator.

Ready([u8; 32])

Indicates that the sender knows that every node will eventually be able to decode.

Trait Implementations

impl PartialEq<Message> for Message[src]

impl Clone for Message[src]

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

Performs copy-assignment from source. Read more

impl Debug for Message[src]

impl Serialize for Message[src]

impl<'de> Deserialize<'de> for Message[src]

impl Distribution<Message> for Standard[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 Send for Message

impl Sync for Message

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]