logo
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.

Associated Types

The type returned in the event of a conversion error.

Required methods

Try to convert value to a HeaderValue.

Implementations on Foreign Types

Implementors