#[non_exhaustive]pub enum XRPLUtilsException {
Show 15 variants
XRPLTimeRangeError(XRPLTimeRangeException),
XRPRangeError(XRPRangeException),
XRPLNFTIdError(XRPLNFTIdException),
XRPLCoreError(XRPLCoreException),
XRPLModelError(XRPLModelException),
XRPLTxnParserError(XRPLTxnParserException),
XRPLXChainClaimIdError(XRPLXChainClaimIdException),
XRPLMPTokenMetadataError(XRPLMPTokenMetadataException),
ISOCodeError(ISOCodeException),
DecimalError(Error),
BigDecimalError(ParseBigDecimalError),
SerdeJsonError(XRPLSerdeJsonError),
FromHexError(FromHexError),
ParseIntError(ParseIntError),
Utf8Error,
}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)
XRPLNFTIdError(XRPLNFTIdException)
XRPLCoreError(XRPLCoreException)
XRPLModelError(XRPLModelException)
XRPLTxnParserError(XRPLTxnParserException)
XRPLXChainClaimIdError(XRPLXChainClaimIdException)
XRPLMPTokenMetadataError(XRPLMPTokenMetadataException)
ISOCodeError(ISOCodeException)
DecimalError(Error)
BigDecimalError(ParseBigDecimalError)
SerdeJsonError(XRPLSerdeJsonError)
FromHexError(FromHexError)
ParseIntError(ParseIntError)
Utf8Error
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
Available on crate feature std only.
impl Error for XRPLUtilsException
Available on crate feature
std only.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<ParseIntError> for XRPLUtilsException
impl From<ParseIntError> for XRPLUtilsException
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<Utf8Error> for XRPLUtilsException
impl From<Utf8Error> for XRPLUtilsException
Source§impl From<XRPLCoreException> for XRPLUtilsException
impl From<XRPLCoreException> for XRPLUtilsException
Source§fn from(source: XRPLCoreException) -> Self
fn from(source: XRPLCoreException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLMPTokenMetadataException> for XRPLUtilsException
impl From<XRPLMPTokenMetadataException> for XRPLUtilsException
Source§fn from(source: XRPLMPTokenMetadataException) -> Self
fn from(source: XRPLMPTokenMetadataException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLModelException> for XRPLUtilsException
impl From<XRPLModelException> for XRPLUtilsException
Source§fn from(source: XRPLModelException) -> Self
fn from(source: XRPLModelException) -> Self
Converts to this type from the input type.
Source§impl From<XRPLNFTIdException> for XRPLUtilsException
impl From<XRPLNFTIdException> for XRPLUtilsException
Source§fn from(source: XRPLNFTIdException) -> Self
fn from(source: XRPLNFTIdException) -> 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<XRPLTxnParserException> for XRPLUtilsException
impl From<XRPLTxnParserException> for XRPLUtilsException
Source§fn from(source: XRPLTxnParserException) -> Self
fn from(source: XRPLTxnParserException) -> 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<XRPLXChainClaimIdException> for XRPLUtilsException
impl From<XRPLXChainClaimIdException> for XRPLUtilsException
Source§fn from(source: XRPLXChainClaimIdException) -> Self
fn from(source: XRPLXChainClaimIdException) -> 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
Source§fn eq(&self, other: &XRPLUtilsException) -> bool
fn eq(&self, other: &XRPLUtilsException) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XRPLUtilsException
Auto Trait Implementations§
impl !RefUnwindSafe for XRPLUtilsException
impl !UnwindSafe for XRPLUtilsException
impl Freeze for XRPLUtilsException
impl Send for XRPLUtilsException
impl Sync for XRPLUtilsException
impl Unpin for XRPLUtilsException
impl UnsafeUnpin 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.