[][src]Trait mail::HeaderObjTraitBoxExt

pub trait HeaderObjTraitBoxExt {
    fn downcast<H>(self) -> Result<Box<Header<H>>, Self>
    where
        H: HeaderKind
; }

Re-export of headers from mail-headers.

Required methods

fn downcast<H>(self) -> Result<Box<Header<H>>, Self> where
    H: HeaderKind

Loading content...

Implementations on Foreign Types

impl HeaderObjTraitBoxExt for Box<dyn HeaderObjTrait + 'static>[src]

Loading content...

Implementors

Loading content...