[][src]Type Definition melib::email::headers::HeaderName

type HeaderName = HeaderNameType<SmallVec<[u8; 32]>>;

Case insensitive wrapper for a header name. As of RFC5322 it's guaranteened to be ASCII.

Implementations

impl HeaderName[src]

pub fn new_unchecked(from: &str) -> Self[src]

Trait Implementations

impl<'a> Borrow<dyn HeaderKey + 'a> for HeaderName[src]

impl<'_> TryFrom<&'_ [u8]> for HeaderName[src]

type Error = MeliError

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ str> for HeaderName[src]

type Error = MeliError

The type returned in the event of a conversion error.