[][src]Enum rhododendron::accumulator::State

pub enum State<Candidate, Digest, Signature> {
    Begin,
    Proposed(Candidate),
    Prepared(PrepareJustification<Digest, Signature>),
    Committed(Justification<Digest, Signature>),
    Advanced(Option<PrepareJustification<Digest, Signature>>),
}

The round's state, based on imported messages.

Variants

Begin

No proposal yet.

Proposed(Candidate)

Proposal received.

Prepared(PrepareJustification<Digest, Signature>)

Seen n - f prepares for this digest.

Committed(Justification<Digest, Signature>)

Seen n - f commits for a digest.

Advanced(Option<PrepareJustification<Digest, Signature>>)

Seen n - f round-advancement messages.

Trait Implementations

impl<Candidate: Eq, Digest: Eq, Signature: Eq> Eq for State<Candidate, Digest, Signature>[src]

impl<Candidate: PartialEq, Digest: PartialEq, Signature: PartialEq> PartialEq<State<Candidate, Digest, Signature>> for State<Candidate, Digest, Signature>[src]

impl<Candidate: Debug, Digest: Debug, Signature: Debug> Debug for State<Candidate, Digest, Signature>[src]

Auto Trait Implementations

impl<Candidate, Digest, Signature> Send for State<Candidate, Digest, Signature> where
    Candidate: Send,
    Digest: Send,
    Signature: Send

impl<Candidate, Digest, Signature> Sync for State<Candidate, Digest, Signature> where
    Candidate: Sync,
    Digest: Sync,
    Signature: Sync

Blanket Implementations

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

impl<T> From<T> for 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]