Struct xmlrpc::Fault [−][src]
Expand description
A <fault>
response, indicating that a request failed.
The XML-RPC specification requires that a <faultCode>
and <faultString>
is returned in the
<fault>
case, further describing the error.
Fields
fault_code: i32
An application-specific error code.
fault_string: String
Human-readable error description.
Implementations
Creates a Fault
from a Value
.
The Value
must be a Value::Struct
with a faultCode
and faultString
field (and no
other fields).
Returns None
if the value isn’t a valid Fault
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Fault
impl UnwindSafe for Fault
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more