logo

Trait actix_web::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

The type returned in the event of a conversion error.

Required methods

Try to convert value to a Header value.

Implementations on Foreign Types

Implementors