#[non_exhaustive]pub enum XRPLUtilsException {
XRPLTimeRangeError(XRPLTimeRangeException),
XRPRangeError(XRPRangeException),
ISOCodeError(ISOCodeException),
DecimalError(Error),
BigDecimalError(ParseBigDecimalError),
SerdeJsonError(XRPLSerdeJsonError),
FromHexError(FromHexError),
}
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.
XRPLTimeRangeError(XRPLTimeRangeException)
XRPRangeError(XRPRangeException)
ISOCodeError(ISOCodeException)
DecimalError(Error)
BigDecimalError(ParseBigDecimalError)
SerdeJsonError(XRPLSerdeJsonError)
FromHexError(FromHexError)
Trait Implementations§
Source§impl Debug for XRPLUtilsException
impl Debug for XRPLUtilsException
Source§impl Display for XRPLUtilsException
impl Display for XRPLUtilsException
Source§impl Error for XRPLUtilsException
impl Error for XRPLUtilsException
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 XRPLUtilsException
impl From<Error> for XRPLUtilsException
Source§impl From<Error> for XRPLUtilsException
impl From<Error> for XRPLUtilsException
Source§impl From<FromHexError> for XRPLUtilsException
impl From<FromHexError> for XRPLUtilsException
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<ISOCodeException> for XRPLUtilsException
impl From<ISOCodeException> for XRPLUtilsException
Source§fn from(source: ISOCodeException) -> Self
fn from(source: ISOCodeException) -> Self
Converts to this type from the input type.
Source§impl From<ParseBigDecimalError> for XRPLUtilsException
impl From<ParseBigDecimalError> for XRPLUtilsException
Source§fn from(source: ParseBigDecimalError) -> Self
fn from(source: ParseBigDecimalError) -> Self
Converts to this type from the input type.
Source§impl From<XRPLSerdeJsonError> for XRPLUtilsException
impl From<XRPLSerdeJsonError> for XRPLUtilsException
Source§fn from(source: XRPLSerdeJsonError) -> Self
fn from(source: XRPLSerdeJsonError) -> Self
Converts to this type from the input type.
Source§impl From<XRPLTimeRangeException> for XRPLUtilsException
impl From<XRPLTimeRangeException> for XRPLUtilsException
Source§fn from(source: XRPLTimeRangeException) -> Self
fn from(source: XRPLTimeRangeException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLUtilsException> for XRPLHelperException
impl From<XRPLUtilsException> for XRPLHelperException
Source§fn from(source: XRPLUtilsException) -> Self
fn from(source: XRPLUtilsException) -> Self
Converts to this type from the input type.
Source§impl From<XRPRangeException> for XRPLUtilsException
impl From<XRPRangeException> for XRPLUtilsException
Source§fn from(source: XRPRangeException) -> Self
fn from(source: XRPRangeException) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XRPLUtilsException
impl PartialEq for XRPLUtilsException
impl StructuralPartialEq for XRPLUtilsException
Auto Trait Implementations§
impl Freeze for XRPLUtilsException
impl !RefUnwindSafe for XRPLUtilsException
impl Send for XRPLUtilsException
impl Sync for XRPLUtilsException
impl Unpin for XRPLUtilsException
impl !UnwindSafe for XRPLUtilsException
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