[][src]Enum mail::error::ResourceLoadingErrorKind

pub enum ResourceLoadingErrorKind {
    NotFound,
    LoadingFailed,
    MediaTypeDetectionFailed,
}

Reasons why the loading of an Resource can fail.

Variants

NotFound

The resource wasn't found.

LoadingFailed

The act of loading it failed (e.g. because of an I/0-Error)

MediaTypeDetectionFailed

Trait Implementations

impl Clone for ResourceLoadingErrorKind[src]

impl Copy for ResourceLoadingErrorKind[src]

impl Debug for ResourceLoadingErrorKind[src]

impl Display for ResourceLoadingErrorKind[src]

impl Eq for ResourceLoadingErrorKind[src]

impl Fail for ResourceLoadingErrorKind[src]

impl From<ResourceLoadingErrorKind> for ResourceLoadingError[src]

impl Hash for ResourceLoadingErrorKind[src]

impl PartialEq<ResourceLoadingErrorKind> for ResourceLoadingErrorKind[src]

impl StructuralEq for ResourceLoadingErrorKind[src]

impl StructuralPartialEq for ResourceLoadingErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<T> Erased for T

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

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

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

impl<F, T> HeaderTryInto<T> for F where
    T: HeaderTryFrom<F>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.