pub enum WalletTransactionFailureReason {
ExternalSystem,
Expired,
Cancelled,
Invalid,
Unknown,
}Expand description
The error code of a failed transaction. Error codes include:
EXTERNAL_SYSTEM: The transaction was declined by an external system.
EXPIRED: The transaction request has expired.
CANCELLED: The transaction request was rescinded.
INVALID: The transaction did not meet certain criteria, such as an inactive account or no valid counterparty, etc.
UNKNOWN: The transaction was unsuccessful, but the exact cause is unknown.
Variants§
Trait Implementations§
Source§impl Clone for WalletTransactionFailureReason
impl Clone for WalletTransactionFailureReason
Source§fn clone(&self) -> WalletTransactionFailureReason
fn clone(&self) -> WalletTransactionFailureReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for WalletTransactionFailureReason
impl<'de> Deserialize<'de> for WalletTransactionFailureReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WalletTransactionFailureReason
impl RefUnwindSafe for WalletTransactionFailureReason
impl Send for WalletTransactionFailureReason
impl Sync for WalletTransactionFailureReason
impl Unpin for WalletTransactionFailureReason
impl UnwindSafe for WalletTransactionFailureReason
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