[][src]Struct rhododendron::Committed

pub struct Committed<C, D, S> {
    pub candidate: Option<C>,
    pub round_number: u32,
    pub justification: Justification<D, S>,
}

Committed successfully.

Fields

candidate: Option<C>

The candidate committed for. This will be unknown if we never witnessed the proposal of the last round.

round_number: u32

The round number we saw the commit in.

justification: Justification<D, S>

A justification for the candidate.

Trait Implementations

impl<C: Clone, D: Clone, S: Clone> Clone for Committed<C, D, 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, S: Debug> Debug for Committed<C, D, S>[src]

Auto Trait Implementations

impl<C, D, S> Sync for Committed<C, D, S> where
    C: Sync,
    D: Sync,
    S: Sync

impl<C, D, S> Send for Committed<C, D, S> where
    C: Send,
    D: Send,
    S: Send

impl<C, D, S> Unpin for Committed<C, D, S> where
    C: Unpin,
    D: Unpin,
    S: Unpin

impl<C, D, S> RefUnwindSafe for Committed<C, D, S> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    S: RefUnwindSafe

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