Enum kv_cab::KVError [] [src]

pub enum KVError {
    CouldntDecode,
    CouldntEncode,
    CouldntWrite,
    FailedToRead,
    CouldntFlush,
    CouldntOpen,
    CouldntLoad,
    CouldntWriteLock,
    CouldntReadLock,
    CouldntUnlock,
    CouldntSeekToStart,
}

Errors that KV might have

Variants

Could not deserialize the cab from disk

Couldn't serialize the hashmap for writing to disk

Could not write to the cab on disk

Failed to read the cab from disk

Could not flush the data to disk

Could not open the file from disk

Could not load the file from disk

Failed to write lock the cab

Failed to read lock the cab

Failed to unlock the cab

Failed to set SeekFrom::Start

Trait Implementations

impl Debug for KVError
[src]

Formats the value using the given formatter.

impl PartialEq for KVError
[src]

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

This method tests for !=.