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