rama_http::headers

Trait HeaderExt

Source
pub trait HeaderExt: Header + Sealed {
    // Required method
    fn encode_to_value(&self) -> HeaderValue;
}
Expand description

An external trait adding helper methods to types which implement Header trait.

Required Methods§

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§

Source§

impl<H> HeaderExt for H
where H: Header + Sealed,