Enum finality_grandpa::round::Phase[][src]

pub enum Phase {
    Prevote,
    Precommit,
}

The (voting) phases of a round, each corresponding to the type of votes cast in that phase.

Variants

Prevote

The prevote phase in which Prevotes are cast.

Precommit

The precommit phase in which Precommits are cast.

Trait Implementations

impl Clone for Phase[src]

impl Copy for Phase[src]

impl Debug for Phase[src]

impl Eq for Phase[src]

impl PartialEq<Phase> for Phase[src]

impl StructuralEq for Phase[src]

impl StructuralPartialEq for Phase[src]

Auto Trait Implementations

impl RefUnwindSafe for Phase

impl Send for Phase

impl Sync for Phase

impl Unpin for Phase

impl UnwindSafe for Phase

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.