[][src]Enum mail_internals::grammar::encoded_word::EncodedWordContext

pub enum EncodedWordContext {
    Phrase,
    Text,
    Comment,
}

Represents the place at which the encoded word appears.

Depending on the place more or less character have to be encoded.

Note: Implementations creating encoded words might use a stricter context which is compatible with all places to reduce code complexity.

Variants

Phrase
Text
Comment

Trait Implementations

impl Clone for EncodedWordContext[src]

impl Copy for EncodedWordContext[src]

impl Debug for EncodedWordContext[src]

impl Eq for EncodedWordContext[src]

impl Hash for EncodedWordContext[src]

impl PartialEq<EncodedWordContext> for EncodedWordContext[src]

impl StructuralEq for EncodedWordContext[src]

impl StructuralPartialEq for EncodedWordContext[src]

Auto Trait Implementations

impl RefUnwindSafe for EncodedWordContext

impl Send for EncodedWordContext

impl Sync for EncodedWordContext

impl Unpin for EncodedWordContext

impl UnwindSafe for EncodedWordContext

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.