Struct hyper::header::ToStrError
[−]
[src]
pub struct ToStrError { /* fields omitted */ }
A possible error when converting a HeaderValue
to a string representation.
Header field values may contain opaque bytes, in which case it is not possible to represent the value as a string.
Trait Implementations
impl Error for ToStrError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for ToStrError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more