[][src]Enum storaget::PackError

pub enum PackError {
    InternalError(String),
    SerializeError(String),
    DeserializeError(String),
    IOError(String),
    ObjectNotFound,
    PathNotFound,
    IDTaken,
}

Pack Error type For internal use

Variants

InternalError(String)

Any error that has a custom message. Any kind of error that has no other more specific variant in Error::*

SerializeError(String)

Serialize Error error occured during serialiuation

DeserializeError(String)

Deserialize Error error occured during deserialization

IOError(String)

IO Error error during file operations

ObjectNotFound

Object not found in a storage. Usually using with get_by_id()

PathNotFound

Path not found Using at reading data from path.

IDTaken

ID Taken When VecPack ID not available

Trait Implementations

impl Debug for PackError[src]

impl Display for PackError[src]

impl From<Error> for PackError[src]

impl From<Error> for PackError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.