Skip to main content

IntoHeaderValue

Trait IntoHeaderValue 

Source
pub trait IntoHeaderValue {
    // Required method
    fn into_header_value(self) -> HeaderValue;
}
Available on crate feature http only.
Expand description

Into HeaderValue.

(We need our own trait becase we cannot implement Into<HeaderValue> for external types.)

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoHeaderValue for HttpDate

Implementors§