Struct http::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]
impl Debug for InvalidStatusCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for InvalidStatusCode
[src]
impl Display for InvalidStatusCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for InvalidStatusCode
[src]
impl Error for InvalidStatusCode
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 From<InvalidStatusCode> for Error
[src]
impl From<InvalidStatusCode> for Error
fn from(err: InvalidStatusCode) -> Error
[src]
fn from(err: InvalidStatusCode) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for InvalidStatusCode
impl Send for InvalidStatusCode
impl Sync for InvalidStatusCode
impl Sync for InvalidStatusCode