Enum wolfram_alpha::HttpRequestError
[−]
[src]
pub enum HttpRequestError {
UriError(UriError),
Utf8Error(Utf8Error),
Io(Error),
Other(Box<StdError>),
}Represents errors which occur when sending an HTTP request to Wolfram|Alpha.
Variants
UriError(UriError)Error parsing a URL string into a hyper::Uri.
Utf8Error(Utf8Error)Error parsing a bytes into a UTF-8 string.
Io(Error)An error occuring during network IO operations.
Other(Box<StdError>)Any other error occuring during an HTTP request.
Trait Implementations
impl Debug for HttpRequestError[src]
impl Display for HttpRequestError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl StdError for HttpRequestError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>[src]
The lower-level cause of this error, if any. Read more
impl From<UriError> for HttpRequestError[src]
fn from(error: UriError) -> HttpRequestError[src]
Performs the conversion.
impl From<Utf8Error> for HttpRequestError[src]
fn from(error: Utf8Error) -> HttpRequestError[src]
Performs the conversion.
impl From<Error> for HttpRequestError[src]
fn from(error: Error) -> HttpRequestError[src]
Performs the conversion.
impl From<Error> for HttpRequestError[src]
fn from(error: Error) -> HttpRequestError[src]
Performs the conversion.