[][src]Enum lettre::transport::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 Clone for Extension[src]

impl Copy for Extension[src]

impl Debug for Extension[src]

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

impl Display for Extension[src]

impl Eq for Extension[src]

impl Hash for Extension[src]

impl PartialEq<Extension> for Extension[src]

impl Serialize for Extension[src]

impl StructuralEq for Extension[src]

impl StructuralPartialEq for Extension[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,