Enum wolfram_alpha::Error [] [src]

pub enum Error {
    HttpRequest(HttpRequestError),
    Io(Error),
    Xml(Error),
}

Represents errors which occur while using the Wolfram|Alpha API.

Variants

HttpRequest(HttpRequestError)

Error sending a HTTP request to Wolfram|Alpha.

Io(Error)

An IO error was encountered.

Xml(Error)

Error while serializing or deserializing XML.

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&StdError>

The lower-level cause of this error, if any. Read more

impl From<HttpRequestError> for Error
[src]

fn from(error: HttpRequestError) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(error: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(error: Error) -> Error

Performs the conversion.

impl PartialEq<Error> for Error
[src]

fn eq(&self, other: &Error) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.