Trait actix_http::header::IntoHeaderPair[][src]

pub trait IntoHeaderPair: Sized {
    type Error: Into<HttpError>;
    fn try_into_header_pair(
        self
    ) -> Result<(HeaderName, HeaderValue), Self::Error>; }
Expand description

An interface for types that can be converted into a HeaderName/HeaderValue pair for insertion into a HeaderMap.

Associated Types

Required methods

Implementations on Foreign Types

Implementors