[][src]Enum tote::ToteError

pub enum ToteError {
    FileAccess(Error),
    Serde(Error),
    InvalidCache,
    Fetching(Box<dyn Error>),
}

Errors that can occur during Tote operations

Variants

FileAccess(Error)

Error reading/writing from given cache file path

Serde(Error)

Error with Serde (de)serialization

InvalidCache

Cached data is missing or cannot be read

Fetching(Box<dyn Error>)

Error while fetching data

Trait Implementations

impl Debug for ToteError[src]

impl Display for ToteError[src]

impl Error for ToteError[src]

impl From<Box<dyn Error + 'static>> for ToteError[src]

impl From<Error> for ToteError[src]

impl From<Error> for ToteError[src]

Auto Trait Implementations

impl !RefUnwindSafe for ToteError

impl !Send for ToteError

impl !Sync for ToteError

impl Unpin for ToteError

impl !UnwindSafe for ToteError

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.