Trait awc::http::header::TryIntoHeaderValue
pub trait TryIntoHeaderValue: Sized {
type Error: Into<Error>;
// Required method
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.
Object Safety§
This trait is not object safe.