Enum simplist::HttpError
[−]
[src]
pub enum HttpError { Uri(UriError), Hyper(HyperError), Utf8(Utf8Error), Status(StatusCode), }
the error type for all errors in crate simplist
.
Variants
Uri(UriError)
Hyper(HyperError)
Utf8(Utf8Error)
Status(StatusCode)
Trait Implementations
impl Debug for HttpError
[src]
impl Display for HttpError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for HttpError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<UriError> for HttpError
[src]
impl From<HyperError> for HttpError
[src]
fn from(error: HyperError) -> HttpError
[src]
Performs the conversion.
impl From<FromUtf8Error> for HttpError
[src]
fn from(error: FromUtf8Error) -> HttpError
[src]
Performs the conversion.