Trait IntoHeaderValue

Source
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§

Implementations on Foreign Types§

Source§

impl IntoHeaderValue for Encoding

Source§

impl IntoHeaderValue for HeaderValue

Source§

impl IntoHeaderValue for HttpDate

Implementors§