pub enum SendOutcome {
Sent {
id: String,
},
NotConfigured,
}Expand description
Result of a send attempt.
Variants§
Sent
Sent; carries the provider message id.
NotConfigured
The adapter is not configured (no API key / unverified sending
domain). The endpoint reports 503 mail-not-configured so forms can
degrade instead of breaking.
Trait Implementations§
Source§impl Clone for SendOutcome
impl Clone for SendOutcome
Source§fn clone(&self) -> SendOutcome
fn clone(&self) -> SendOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendOutcome
impl Debug for SendOutcome
impl Eq for SendOutcome
Source§impl PartialEq for SendOutcome
impl PartialEq for SendOutcome
impl StructuralPartialEq for SendOutcome
Auto Trait Implementations§
impl Freeze for SendOutcome
impl RefUnwindSafe for SendOutcome
impl Send for SendOutcome
impl Sync for SendOutcome
impl Unpin for SendOutcome
impl UnsafeUnpin for SendOutcome
impl UnwindSafe for SendOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.