Struct xmlrpc::Fault [] [src]

pub struct Fault {
    pub fault_code: i32,
    pub fault_string: String,
}

A <fault> response - The call failed.

The XML-RPC specification requires that a <faultCode> and <faultString> is returned in the <fault> case, further describing the error.

Fields

Methods

impl Fault
[src]

Creates a Fault from a Value.

The Value must be a Value::Struct with a faultCode and faultString field.

Returns None if the value isn't a valid Fault.

Trait Implementations

impl Debug for Fault
[src]

Formats the value using the given formatter.

impl PartialEq for Fault
[src]

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

This method tests for !=.

impl Eq for Fault
[src]