Trait mailparsing::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§