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

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

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

Associated Types

type Error: Into<Error>[src]

The type returned in the event of a conversion error.

Loading content...

Required methods

pub fn try_into_value(self) -> Result<HeaderValue, Self::Error>[src]

Try to convert value to a HeaderValue.

Loading content...

Implementations on Foreign Types

impl IntoHeaderValue for u32[src]

impl IntoHeaderValue for Mime[src]

impl IntoHeaderValue for usize[src]

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

impl IntoHeaderValue for i64[src]

impl IntoHeaderValue for Vec<u8, Global>[src]

impl IntoHeaderValue for String[src]

impl IntoHeaderValue for i32[src]

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

impl IntoHeaderValue for u64[src]

Loading content...

Implementors

impl IntoHeaderValue for ContentEncoding[src]

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 HttpDate[src]

impl IntoHeaderValue for IfModifiedSince[src]

impl IntoHeaderValue for IfUnmodifiedSince[src]

impl IntoHeaderValue for LastModified[src]

impl IntoHeaderValue for HeaderValue[src]

impl IntoHeaderValue for Bytes[src]

impl<'_> IntoHeaderValue for &'_ HeaderValue[src]

Loading content...