[][src]Enum rhododendron::Communication

pub enum Communication<C, D, V, S> {
    Consensus(LocalizedMessage<C, D, V, S>),
    Auxiliary(PrepareJustification<D, S>),
}

Communication that can occur between participants in consensus.

Variants

Consensus(LocalizedMessage<C, D, V, S>)

A consensus message (proposal or vote)

Auxiliary(PrepareJustification<D, S>)

Auxiliary communication (just proof-of-lock for now).

Trait Implementations

impl<C: Clone, D: Clone, V: Clone, S: Clone> Clone for Communication<C, D, V, S>[src]

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

Performs copy-assignment from source. Read more

impl<C: Debug, D: Debug, V: Debug, S: Debug> Debug for Communication<C, D, V, S>[src]

Auto Trait Implementations

impl<C, D, V, S> Sync for Communication<C, D, V, S> where
    C: Sync,
    D: Sync,
    S: Sync,
    V: Sync

impl<C, D, V, S> Send for Communication<C, D, V, S> where
    C: Send,
    D: Send,
    S: Send,
    V: Send

impl<C, D, V, S> Unpin for Communication<C, D, V, S> where
    C: Unpin,
    D: Unpin,
    S: Unpin,
    V: Unpin

impl<C, D, V, S> RefUnwindSafe for Communication<C, D, V, S> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<C, D, V, S> UnwindSafe for Communication<C, D, V, S> where
    C: UnwindSafe,
    D: UnwindSafe,
    S: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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