[][src]Enum lettre::smtp::extension::Extension

pub enum Extension {
    EightBitMime,
    SmtpUtfEight,
    StartTls,
    Authentication(Mechanism),
}

Supported ESMTP keywords

Variants

EightBitMime

8BITMIME keyword

RFC 6152: https://tools.ietf.org/html/rfc6152

SmtpUtfEight

SMTPUTF8 keyword

RFC 6531: https://tools.ietf.org/html/rfc6531

StartTls

STARTTLS keyword

RFC 2487: https://tools.ietf.org/html/rfc2487

Authentication(Mechanism)

AUTH mechanism

Trait Implementations

impl Eq for Extension[src]

impl Copy for Extension[src]

impl PartialEq<Extension> for Extension[src]

impl Clone for Extension[src]

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

Performs copy-assignment from source. Read more

impl Display for Extension[src]

impl Debug for Extension[src]

impl Hash for Extension[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Extension[src]

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

Auto Trait Implementations

impl Send for Extension

impl Sync for Extension

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

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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