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
Transforms structures into header K/V pairs for inserting into HeaderMaps.