[][src]Enum mail_core::default_impl::simple_context::ContextSetupError

pub enum ContextSetupError {
    ReadingEnv(Error),
    PunyCodingDomain(EncodingError),
}

Error returned when creating a "simple_context" fails.

Variants

ReadingEnv(Error)

Reading the env variables failed.

(Mainly getting the current working dir failed).

PunyCodingDomain(EncodingError)

Punny encoding a non us-ascii domain failed.

Trait Implementations

impl Debug for ContextSetupError[src]

impl Display for ContextSetupError[src]

impl Fail for ContextSetupError[src]

Auto Trait Implementations

impl !RefUnwindSafe for ContextSetupError

impl Send for ContextSetupError

impl Sync for ContextSetupError

impl Unpin for ContextSetupError

impl !UnwindSafe for ContextSetupError

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[src]

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.