[][src]Struct mail::error::ResourceLoadingError

pub struct ResourceLoadingError { /* fields omitted */ }

The loading of an Resource failed.

Implementations

impl ResourceLoadingError[src]

pub fn kind(&self) -> ResourceLoadingErrorKind[src]

The kind of error which caused the loading to fail.

pub fn source_iri(&self) -> Option<&IRI>[src]

The source IRI which was used when failing to load the Resource.

pub fn with_source_iri_or_else<F>(self, func: F) -> ResourceLoadingError where
    F: FnOnce() -> Option<IRI>, 
[src]

Sets the source IRI if not already set and returns self.

Trait Implementations

impl Debug for ResourceLoadingError[src]

impl Display for ResourceLoadingError[src]

impl Fail for ResourceLoadingError[src]

impl From<(IRI, Context<ResourceLoadingErrorKind>)> for ResourceLoadingError[src]

impl From<(IRI, ResourceLoadingErrorKind)> for ResourceLoadingError[src]

impl From<(Option<IRI>, Context<ResourceLoadingErrorKind>)> for ResourceLoadingError[src]

impl From<(Option<IRI>, ResourceLoadingErrorKind)> for ResourceLoadingError[src]

impl From<Context<ResourceLoadingErrorKind>> for ResourceLoadingError[src]

impl From<Error> for ResourceLoadingError[src]

impl From<ResourceLoadingError> for MailError[src]

impl From<ResourceLoadingError> for ResourceError[src]

impl From<ResourceLoadingErrorKind> for ResourceLoadingError[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> 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.