Type Alias HeaderObj

Source
pub type HeaderObj = dyn HeaderObjTrait;
Expand description

Type alias for HeaderObjTrait’s trait object.

Implementations§

Source§

impl HeaderObj

Source

pub fn is<H>(&self) -> bool
where H: HeaderKind,

Source

pub fn downcast_ref<H>(&self) -> Option<&Header<H>>
where H: HeaderKind,

Source

pub fn downcast_mut<H>(&mut self) -> Option<&mut Header<H>>
where H: HeaderKind,

Trait Implementations§

Source§

impl Clone for Box<HeaderObj>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl HasHeaderName for HeaderObj