[][src]Trait actix_web::http::header::IntoHeaderValue

pub trait IntoHeaderValue {
    type Error: Into<Error>;
    fn try_into(self) -> Result<HeaderValue, Self::Error>;
}

A trait for any object that can be Converted to a HeaderValue

Associated Types

type Error: Into<Error>

The type returned in the event of a conversion error.

Loading content...

Required methods

fn try_into(self) -> Result<HeaderValue, Self::Error>

Try to convert value to a Header value.

Loading content...

Implementations on Foreign Types

impl IntoHeaderValue for Mime[src]

impl IntoHeaderValue for u64[src]

impl IntoHeaderValue for usize[src]

impl IntoHeaderValue for Vec<u8>[src]

impl<'a> IntoHeaderValue for &'a str[src]

impl IntoHeaderValue for String[src]

impl<'a> IntoHeaderValue for &'a [u8][src]

Loading content...

Implementors

impl IntoHeaderValue for ContentRangeSpec[src]

impl IntoHeaderValue for IfMatch[src]

impl IntoHeaderValue for IfNoneMatch[src]

impl IntoHeaderValue for IfRange[src]

impl IntoHeaderValue for Accept[src]

impl IntoHeaderValue for AcceptCharset[src]

impl IntoHeaderValue for AcceptLanguage[src]

impl IntoHeaderValue for Allow[src]

impl IntoHeaderValue for CacheControl[src]

impl IntoHeaderValue for ContentDisposition[src]

impl IntoHeaderValue for ContentLanguage[src]

impl IntoHeaderValue for ContentRange[src]

impl IntoHeaderValue for ContentType[src]

impl IntoHeaderValue for Date[src]

impl IntoHeaderValue for ETag[src]

impl IntoHeaderValue for EntityTag[src]

impl IntoHeaderValue for Expires[src]

impl IntoHeaderValue for HeaderValue[src]

impl IntoHeaderValue for HttpDate[src]

impl IntoHeaderValue for IfModifiedSince[src]

impl IntoHeaderValue for IfUnmodifiedSince[src]

impl IntoHeaderValue for LastModified[src]

impl IntoHeaderValue for Bytes[src]

Loading content...