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)>
Returns 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()
impl Eq for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl Freeze for Fault
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