Trait actix_http::http::header::IntoHeaderValue [−][src]
pub trait IntoHeaderValue: Sized {
type Error: Into<HttpError>;
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.