[][src]Enum mailstrom::DeliveryResult

pub enum DeliveryResult {
    Queued,
    Deferred(u8String),
    Delivered(String),
    Failed(String),
}

The result (so far) of the sending of an email to a particular recipient

Variants

Queued

Mail is queued to be sent, but no attempt has yet been made to send. This state should be moved through rather quickly.

Deferred(u8String)

Mail sending has been deferred due to a transient error. Number of attempts and Error are included.

Delivered(String)

Mail has been sent. Delivery response included.

Failed(String)

Mail sending has failed due to a permanent error. Error is included.

Methods

impl DeliveryResult[src]

pub fn completed(&self) -> bool[src]

Trait Implementations

impl Clone for DeliveryResult[src]

impl Debug for DeliveryResult[src]

impl<'de> Deserialize<'de> for DeliveryResult[src]

impl PartialEq<DeliveryResult> for DeliveryResult[src]

impl Serialize for DeliveryResult[src]

impl StructuralPartialEq for DeliveryResult[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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[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> TryFrom<T> for T[src]

type Error = ParseError

The type returned in the event of a conversion error.

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.