[][src]Enum rhododendron::Message

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

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

Variants

Propose(u32, C)

A proposal itself.

Vote(Vote<D>)

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

Trait Implementations

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

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

Performs copy-assignment from source. Read more

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<C, D> UnwindSafe for Message<C, D> where
    C: UnwindSafe,
    D: 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]