pub trait TryIntoHeaderValue {
type Error: Into<Error>;
fn try_into_value(self) -> Result<HeaderValue, Self::Error>;
}Expand description
An interface for types that can be converted into a HeaderValue.
Required Associated Types
Required Methods
fn try_into_value(self) -> Result<HeaderValue, Self::Error>
fn try_into_value(self) -> Result<HeaderValue, Self::Error>
Try to convert value to a HeaderValue.
