Trait fire_http::header::IntoHeaderValue
source · [−]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
fn try_into_header_value(self) -> Option<HeaderValue>
fn try_into_header_value(self) -> Option<HeaderValue>
Tries to convert to a HeaderValue.