Struct simple_xmlrpc::Fault
source · pub struct Fault {
pub fault_code: i32,
pub fault_string: String,
}
👎Deprecated since 0.1.2: please use
serde_xmlrpc::Fault
insteadExpand 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
👎Deprecated since 0.1.2: please use
serde_xmlrpc::Fault
insteadAn application-specific error code.
fault_string: String
👎Deprecated since 0.1.2: please use
serde_xmlrpc::Fault
insteadHuman-readable error description.
Trait Implementations§
source§impl Error for Fault
impl Error for Fault
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for Fault
impl PartialEq for Fault
impl Eq for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnwindSafe for Fault
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more