Enum rhododendron::Message[][src]

pub enum Message<C, D> {
    Propose(u32, C),
    Vote(Vote<D>),
}

Messages over the proposal. Each message carries an associated round number.

Variants

A proposal itself.

A vote of some kind, localized to a round number.

Trait Implementations

impl<C: Debug, D: Debug> Debug for Message<C, D>
[src]

Formats the value using the given formatter. Read more

impl<C: Clone, D: Clone> Clone for Message<C, D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: PartialEq, D: PartialEq> PartialEq for Message<C, D>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<C: Eq, D: Eq> Eq for Message<C, D>
[src]

impl<C, D> From<Vote<D>> for Message<C, D>
[src]

Performs the conversion.

Auto Trait Implementations

impl<C, D> Send for Message<C, D> where
    C: Send,
    D: Send

impl<C, D> Sync for Message<C, D> where
    C: Sync,
    D: Sync