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§
Sourcefn into_header_value(self) -> HeaderValue
fn into_header_value(self) -> HeaderValue
To HeaderValue.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".