Trait Headers

Source
pub trait Headers<Name: ?Sized, Value: ?Sized> {
    // Required method
    fn headers<'s>(&'s self) -> impl Iterator<Item = (&'s Name, &'s Value)>
       where Name: 's,
             Value: 's;
}

Required Methods§

Source

fn headers<'s>(&'s self) -> impl Iterator<Item = (&'s Name, &'s Value)>
where Name: 's, Value: 's,

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§