pub trait TryIntoHeaderPair {
type Error: Into<Error>;
fn try_into_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.
