Trait Header

Source
pub trait Header: Sized {
    // Required methods
    fn name() -> &'static str;
    fn parse(entries: &[OwningRef<Rc<String>, str>]) -> Result<Self>;
}

Required Methods§

Source

fn name() -> &'static str

Source

fn parse(entries: &[OwningRef<Rc<String>, str>]) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§