[][src]Enum new_tokio_smtp::SyntaxErrorHandling

pub enum SyntaxErrorHandling {
    Strict,
    Lax,
}

Which method should be used to handle syntax errors.

Variants

Strict

More strict handling.

(currently only affects the ehlo command during connection setup)

Lax

Less strict handling.

(currently only affects the ehlo command during connection setup)

Trait Implementations

impl Clone for SyntaxErrorHandling[src]

impl Debug for SyntaxErrorHandling[src]

impl Default for SyntaxErrorHandling[src]

impl Eq for SyntaxErrorHandling[src]

impl Hash for SyntaxErrorHandling[src]

impl PartialEq<SyntaxErrorHandling> for SyntaxErrorHandling[src]

impl PartialOrd<SyntaxErrorHandling> for SyntaxErrorHandling[src]

impl StructuralEq for SyntaxErrorHandling[src]

impl StructuralPartialEq for SyntaxErrorHandling[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> 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, 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.