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
HyperError(HyperError)
An HTTP communication error occurred while sending the request or receiving the response.
ParseError(ParseError)
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]
impl From<HyperError> for RequestError
[src]
fn from(e: HyperError) -> Self
Performs the conversion.
impl From<ParseError> for RequestError
[src]
fn from(e: ParseError) -> Self
Performs the conversion.