[][src]Enum overlord::error::ConsensusError

pub enum ConsensusError {
    InvalidAddress,
    ChannelErr(String),
    TriggerSMRErr(String),
    MonitorEventErr(String),
    ThrowEventErr(String),
    ProposalErr(String),
    PrevoteErr(String),
    PrecommitErr(String),
    BrakeErr(String),
    RoundDiff {
        local: u64,
        vote: u64,
    },
    SelfCheckErr(String),
    CorrectnessErr(String),
    TimerErr(String),
    StateErr(String),
    MultiProposal(u64u64),
    StorageErr(String),
    SaveWalErr {
        height: u64,
        round: u64,
        step: String,
    },
    LoadWalErr(String),
    CryptoErr(String),
    AggregatedSignatureErr(String),
    Other(String),
}

Overlord consensus error.

Variants

InvalidAddress
ChannelErr(String)
TriggerSMRErr(String)
MonitorEventErr(String)
ThrowEventErr(String)
ProposalErr(String)
PrevoteErr(String)
PrecommitErr(String)
BrakeErr(String)
RoundDiff

Fields of RoundDiff

local: u64
vote: u64
SelfCheckErr(String)
CorrectnessErr(String)
TimerErr(String)
StateErr(String)
MultiProposal(u64u64)
StorageErr(String)
SaveWalErr

Fields of SaveWalErr

height: u64
round: u64
step: String
LoadWalErr(String)
CryptoErr(String)
AggregatedSignatureErr(String)
Other(String)

Other error.

Trait Implementations

impl Debug for ConsensusError[src]

impl Display for ConsensusError[src]

impl Error for ConsensusError[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.