[][src]Enum pbft_engine::error::PbftError

pub enum PbftError {
    SerializationError(String, ProtobufError),
    ServiceError(String, ServError),
    SigningError(String),
    FaultyPrimary(String),
    InvalidMessage(String),
    InternalError(String),
}

Errors that might occur in a PbftNode

Variants

SerializationError(String, ProtobufError)

An error occurred while serializing or deserializing a Protobuf message (description, ProtobufError)

ServiceError(String, ServError)

An error occurred while making a call to the consensus service (description, ServError)

SigningError(String)

An error occurred while verifying a cryptographic signature

FaultyPrimary(String)

The node detected a faulty primary and started a view change

InvalidMessage(String)

An invalid message was received

InternalError(String)

Internal PBFT error (description)

Trait Implementations

impl Debug for PbftError[src]

impl Display for PbftError[src]

impl Error for PbftError[src]

Auto Trait Implementations

impl !RefUnwindSafe for PbftError

impl Send for PbftError

impl Sync for PbftError

impl Unpin for PbftError

impl !UnwindSafe for PbftError

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> DebugAny for T where
    T: Any + Debug

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.

impl<T> UnsafeAny for T where
    T: Any