pub fn from_one_raw_str<T>(val: Option<&HeaderValue>) -> Result<T, ParseError>where
T: FromStr,
Expand description
Reads a single string when parsing a header.
pub fn from_one_raw_str<T>(val: Option<&HeaderValue>) -> Result<T, ParseError>where
T: FromStr,
Reads a single string when parsing a header.