[][src]Enum transact::state::error::StateReadError

pub enum StateReadError {
    InvalidStateId(String),
    InvalidKey(String),
    StorageError(Box<dyn Error>),
}

An error that may occur on state reads.

Variants

InvalidStateId(String)

Attempted to read to state from a given state id, and that state id does not exist.

InvalidKey(String)

An poorly formed or invalid key was provided.

StorageError(Box<dyn Error>)

An error occurred with the underlying storage mechanism

Trait Implementations

impl From<StateReadError> for ContextManagerError[src]

impl Debug for StateReadError[src]

impl Display for StateReadError[src]

impl Error for StateReadError[src]

Auto Trait Implementations

Blanket Implementations

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

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