Enum rhododendron::LocalizedMessage[][src]

pub enum LocalizedMessage<C, D, V, S> {
    Propose(LocalizedProposal<C, D, V, S>),
    Vote(LocalizedVote<D, V, S>),
}

A localized message.

Variants

A proposal.

A vote.

Methods

impl<C, D, V, S> LocalizedMessage<C, D, V, S>
[src]

Extract the sender.

Extract the round number.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C, D, V, S> From<LocalizedVote<D, V, S>> for LocalizedMessage<C, D, V, S>
[src]

Performs the conversion.

Auto Trait Implementations

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

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