Enum akd::errors::StorageError[][src]

pub enum StorageError {
    SetError(String),
    GetError(String),
    SerializationError,
    Connection(String),
}
Expand description

Represents a storage-layer error

Variants

SetError(String)

Tuple Fields

0: String

An error occurred setting data in the storage layer

GetError(String)

Tuple Fields

0: String

An error occurred getting data from the storage layer

SerializationError

An error occurred serializing or deserializing data

Connection(String)

Tuple Fields

0: String

Some kind of storage connection error occurred

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.