Enum simple_xmlrpc::Error
source · pub enum Error {
ParseError(String),
EncodingError(String),
Fault(Fault),
}
👎Deprecated since 0.1.1: please use
serde_xmlrpc::Error
insteadExpand description
Errors that can occur when trying to perform an XML-RPC request.
This can be a lower-level error (for example, the HTTP request failed), a problem with the server (maybe it’s not implementing XML-RPC correctly), or just a failure to execute the operation.
Variants§
ParseError(String)
👎Deprecated since 0.1.1: please use
serde_xmlrpc::Error
insteadThe response could not be parsed. This can happen when the server doesn’t correctly implement the XML-RPC spec.
EncodingError(String)
👎Deprecated since 0.1.1: please use
serde_xmlrpc::Error
insteadThe response could not be encoded.
Fault(Fault)
👎Deprecated since 0.1.1: please use
serde_xmlrpc::Error
insteadThe server returned a <fault>
response, indicating that the execution of the call
encountered a problem (for example, an invalid (number of) arguments was passed).
Trait Implementations§
source§impl Error for Error
impl Error for Error
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()
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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