pub trait IntoHeaderValue {
    fn try_into_header_value(self) -> Option<HeaderValue>;
}
Expand description

Converts a value into a HeaderValue.

Some types can not be converted for sure, like string’s and bytes. Numbers (except floats) cannot fail.

Required Methods

Tries to convert to a HeaderValue.

Implementations on Foreign Types

Implementors