Trait awc::http::header::IntoHeaderValue [−][src]
pub trait IntoHeaderValue {
type Error: Into<Error>;
fn try_into(self) -> Result<HeaderValue, Self::Error>;
}
Expand description
A trait for any object that can be Converted to a HeaderValue
Associated Types
Required methods
fn try_into(self) -> Result<HeaderValue, Self::Error>
fn try_into(self) -> Result<HeaderValue, Self::Error>
Try to convert value to a Header value.