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