Enum xmlrpc::RequestError [] [src]

pub enum RequestError {
    HyperError(HyperError),
    ParseError(ParseError),
}

A request could not be executed.

This is either a lower-level error (for example, the HTTP request failed), or a problem with the server (maybe it's not implementing XML-RPC correctly). If the server sends a valid response, this error will not occur.

Variants

An HTTP communication error occurred while sending the request or receiving the response.

The response could not be parsed. This can happen when the server doesn't correctly implement the XML-RPC spec.

Trait Implementations

impl Debug for RequestError
[src]

Formats the value using the given formatter.

impl From<HyperError> for RequestError
[src]

Performs the conversion.

impl From<ParseError> for RequestError
[src]

Performs the conversion.

impl From<Error> for RequestError
[src]

Performs the conversion.

impl Display for RequestError
[src]

Formats the value using the given formatter.

impl Error for RequestError
[src]

A short description of the error. Read more

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