[][src]Enum rkv::error::DataError

pub enum DataError {
    UnknownType(u8),
    UnexpectedType {
        expected: Type,
        actual: Type,
    },
    Empty,
    DecodingError {
        value_type: Type,
        err: Box<ErrorKind>,
    },
    EncodingError(Box<ErrorKind>),
    InvalidUuid,
}

Variants

UnknownType(u8)UnexpectedType

Fields of UnexpectedType

expected: Typeactual: Type
EmptyDecodingError

Fields of DecodingError

value_type: Typeerr: Box<ErrorKind>
EncodingError(Box<ErrorKind>)InvalidUuid

Trait Implementations

impl From<Box<ErrorKind>> for DataError[src]

impl From<DataError> for StoreError[src]

impl Debug for DataError[src]

impl Display for DataError[src]

impl Fail for DataError[src]

fn context<D>(self, context: D) -> Context<D> where
    D: Display + Send + Sync + 'static, 
[src]

Provides context for this failure. Read more

fn compat(self) -> Compat<Self>[src]

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Auto Trait Implementations

impl Send for DataError

impl Sync for DataError

Blanket Implementations

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

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

impl<T> From<T> for 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> AsFail for T where
    T: Fail
[src]