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

pub trait IntoHeaderValue: Sized {
    type Error: Into<HttpError>;
    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<HttpError>

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<'a> IntoHeaderValue for &'a str[src]

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

impl IntoHeaderValue for Bytes[src]

impl IntoHeaderValue for Vec<u8>[src]

impl IntoHeaderValue for String[src]

impl IntoHeaderValue for usize[src]

impl IntoHeaderValue for u64[src]

impl IntoHeaderValue for Mime[src]

Loading content...

Implementors

impl IntoHeaderValue for HeaderValue[src]

Loading content...