[][src]Enum transact::state::merkle::StateDatabaseError

pub enum StateDatabaseError {
    NotFound(String),
    DeserializationError(DecodeError),
    SerializationError(EncodeError),
    ChangeLogEncodingError(String),
    InvalidRecord,
    InvalidHash(String),
    InvalidChangeLogIndex(String),
    DatabaseError(DatabaseError),
    ProtobufConversionError(ProtoConversionError),
    UnknownError,
}

Variants

NotFound(String)DeserializationError(DecodeError)SerializationError(EncodeError)ChangeLogEncodingError(String)InvalidRecordInvalidHash(String)InvalidChangeLogIndex(String)DatabaseError(DatabaseError)ProtobufConversionError(ProtoConversionError)UnknownError

Trait Implementations

impl From<DatabaseError> for StateDatabaseError[src]

impl From<EncodeError> for StateDatabaseError[src]

impl From<DecodeError> for StateDatabaseError[src]

impl From<ProtobufError> for StateDatabaseError[src]

impl From<ProtoConversionError> for StateDatabaseError[src]

impl Debug for StateDatabaseError[src]

impl Display for StateDatabaseError[src]

impl Error for StateDatabaseError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0[src]

Gets the TypeId of self

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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]

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self