pub trait IntoHeaderValue {
// Required method
fn into_header_value(self) -> HeaderValue;
}
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.