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]
impl Error for ToStrError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
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]
impl Display for ToStrError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for ToStrError
[src]
impl Debug for ToStrError
Auto Trait Implementations
impl Send for ToStrError
impl Send for ToStrError
impl Sync for ToStrError
impl Sync for ToStrError