Struct http_with_url::status::InvalidStatusCode
[−]
[src]
pub struct InvalidStatusCode { /* fields omitted */ }
A possible error value when converting a StatusCode
from a u16
or &str
This error indicates that the supplied input was not a valid number, was less than 100, or was greater than 599.
Trait Implementations
impl Debug for InvalidStatusCode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for InvalidStatusCode
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for InvalidStatusCode
[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 From<InvalidStatusCode> for Error
[src]
fn from(err: InvalidStatusCode) -> Error
[src]
Performs the conversion.