mailparsing

Trait EncodeHeaderValue

Source
pub trait EncodeHeaderValue {
    // Required method
    fn encode_value(&self) -> SharedString<'static>;

    // Provided method
    fn as_header(&self, _name: &str) -> Option<Header<'static>> { ... }
}

Required Methods§

Source

fn encode_value(&self) -> SharedString<'static>

Provided Methods§

Source

fn as_header(&self, _name: &str) -> Option<Header<'static>>

Implementations on Foreign Types§

Source§

impl EncodeHeaderValue for &str

Source§

fn encode_value(&self) -> SharedString<'static>

Source§

fn as_header(&self, name: &str) -> Option<Header<'static>>

Source§

impl EncodeHeaderValue for Vec<MessageID>

Source§

fn encode_value(&self) -> SharedString<'static>

Source§

impl<T: TimeZone> EncodeHeaderValue for DateTime<T>
where <T as TimeZone>::Offset: Display,

Source§

fn encode_value(&self) -> SharedString<'static>

Implementors§