Enum mailstrom::DeliveryResult
source · [−]Expand description
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.
Implementations
sourceimpl DeliveryResult
impl DeliveryResult
Trait Implementations
sourceimpl Clone for DeliveryResult
impl Clone for DeliveryResult
sourcefn clone(&self) -> DeliveryResult
fn clone(&self) -> DeliveryResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeliveryResult
impl Debug for DeliveryResult
sourceimpl<'de> Deserialize<'de> for DeliveryResult
impl<'de> Deserialize<'de> for DeliveryResult
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DeliveryResult> for DeliveryResult
impl PartialEq<DeliveryResult> for DeliveryResult
sourcefn eq(&self, other: &DeliveryResult) -> bool
fn eq(&self, other: &DeliveryResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeliveryResult) -> bool
fn ne(&self, other: &DeliveryResult) -> bool
This method tests for !=
.
sourceimpl Serialize for DeliveryResult
impl Serialize for DeliveryResult
impl StructuralPartialEq for DeliveryResult
Auto Trait Implementations
impl RefUnwindSafe for DeliveryResult
impl Send for DeliveryResult
impl Sync for DeliveryResult
impl Unpin for DeliveryResult
impl UnwindSafe for DeliveryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more