[][src]Enum hammersbald::HammersbaldError

pub enum HammersbaldError {
    InvalidOffset,
    Corrupted(String),
    KeyTooLong,
    IO(Error),
    Poisoned(String),
    Queue(String),
}

Errors returned by this library

Variants

InvalidOffset

pref is invalid (> 2^48)

Corrupted(String)

corrupted data

KeyTooLong

key too long

IO(Error)

wrapped IO error

Poisoned(String)

Lock poisoned

Queue(String)

Queue error

Trait Implementations

impl From<Error> for HammersbaldError[src]

impl From<HammersbaldError> for Error[src]

impl<T> From<PoisonError<T>> for HammersbaldError[src]

impl<T> From<SendError<T>> for HammersbaldError[src]

impl Debug for HammersbaldError[src]

impl Display for HammersbaldError[src]

impl Error for HammersbaldError[src]

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

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

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]