[][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 PartialEq<DeliveryResult> for DeliveryResult[src]

impl Clone for DeliveryResult[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DeliveryResult[src]

impl Serialize for DeliveryResult[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TryFrom for T[src]

type Error = ParseError

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T