Enum mailstrom::status::DeliveryResult
[−]
[src]
pub enum DeliveryResult { Queued, Deferred(u8, String), 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(u8, String)
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]
Trait Implementations
impl Debug for DeliveryResult
[src]
impl Clone for DeliveryResult
[src]
fn clone(&self) -> DeliveryResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DeliveryResult
[src]
fn eq(&self, __arg_0: &DeliveryResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeliveryResult) -> bool
This method tests for !=
.