#[non_exhaustive]pub enum XRPLClientException {
XRPLSerdeJsonError(XRPLSerdeJsonError),
XRPLModelError(XRPLModelException),
XRPLFaucetError(XRPLFaucetException),
XRPLWebSocketError(XRPLWebSocketException),
XRPLJsonRpcError(XRPLJsonRpcException),
UrlParseError(ParseError),
IoError(Error),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
XRPLSerdeJsonError(XRPLSerdeJsonError)
XRPLModelError(XRPLModelException)
XRPLFaucetError(XRPLFaucetException)
XRPLWebSocketError(XRPLWebSocketException)
XRPLJsonRpcError(XRPLJsonRpcException)
UrlParseError(ParseError)
IoError(Error)
Trait Implementations§
Source§impl Debug for XRPLClientException
impl Debug for XRPLClientException
Source§impl Display for XRPLClientException
impl Display for XRPLClientException
Source§impl Error for XRPLClientException
impl Error for XRPLClientException
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()
Source§impl From<Error> for XRPLClientException
impl From<Error> for XRPLClientException
Source§impl From<Error> for XRPLClientException
impl From<Error> for XRPLClientException
Source§impl From<Error> for XRPLClientException
impl From<Error> for XRPLClientException
Source§impl From<Error> for XRPLClientException
impl From<Error> for XRPLClientException
Source§impl From<ParseError> for XRPLClientException
impl From<ParseError> for XRPLClientException
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<XRPLClientException> for XRPLHelperException
impl From<XRPLClientException> for XRPLHelperException
Source§fn from(source: XRPLClientException) -> Self
fn from(source: XRPLClientException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLFaucetException> for XRPLClientException
impl From<XRPLFaucetException> for XRPLClientException
Source§fn from(source: XRPLFaucetException) -> Self
fn from(source: XRPLFaucetException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLJsonRpcException> for XRPLClientException
impl From<XRPLJsonRpcException> for XRPLClientException
Source§fn from(source: XRPLJsonRpcException) -> Self
fn from(source: XRPLJsonRpcException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLModelException> for XRPLClientException
impl From<XRPLModelException> for XRPLClientException
Source§fn from(source: XRPLModelException) -> Self
fn from(source: XRPLModelException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLSerdeJsonError> for XRPLClientException
impl From<XRPLSerdeJsonError> for XRPLClientException
Source§fn from(source: XRPLSerdeJsonError) -> Self
fn from(source: XRPLSerdeJsonError) -> Self
Converts to this type from the input type.
Source§impl From<XRPLWebSocketException> for XRPLClientException
impl From<XRPLWebSocketException> for XRPLClientException
Source§fn from(source: XRPLWebSocketException) -> Self
fn from(source: XRPLWebSocketException) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for XRPLClientException
impl !RefUnwindSafe for XRPLClientException
impl Send for XRPLClientException
impl Sync for XRPLClientException
impl Unpin for XRPLClientException
impl !UnwindSafe for XRPLClientException
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