pub enum WalletError {
Show 32 variants
InvalidArguments,
InvalidIcon,
InvalidIdentifier(String),
InvalidSignature,
Signer(String),
Js(String),
ParseString(String),
Serde(String),
UnsupportedFeature {
feature: String,
wallet: String,
},
UnsupportedIconType,
UnsupportedTransactionVersion,
WalletAccount,
WalletConfig,
WalletConnection,
WalletDecrypt,
WalletDisconnected,
WalletDisconnection,
WalletEncrypt,
WalletKeypair,
WalletLoad,
WalletNotConnected,
WalletNotReady,
WalletPublicKey,
WalletSendTransaction,
WalletSignIn,
WalletSignInFields(String),
WalletSignMessage,
WalletSignTransaction,
WalletTimeout,
WalletWindowBlocked,
WalletWindowClosed,
External(String),
}Variants§
InvalidArguments
InvalidIcon
InvalidIdentifier(String)
InvalidSignature
Signer(String)
Js(String)
ParseString(String)
Serde(String)
UnsupportedFeature
UnsupportedIconType
UnsupportedTransactionVersion
WalletAccount
WalletConfig
WalletConnection
WalletDecrypt
WalletDisconnected
WalletDisconnection
WalletEncrypt
WalletKeypair
WalletLoad
WalletNotConnected
WalletNotReady
WalletPublicKey
WalletSendTransaction
WalletSignIn
WalletSignInFields(String)
WalletSignMessage
WalletSignTransaction
WalletTimeout
WalletWindowBlocked
WalletWindowClosed
External(String)
An error from an external source. Implement IntoWalletError for your
error to support this functionality.
Trait Implementations§
source§impl Clone for WalletError
impl Clone for WalletError
source§fn clone(&self) -> WalletError
fn clone(&self) -> WalletError
Returns a copy 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 Debug for WalletError
impl Debug for WalletError
source§impl<'de> Deserialize<'de> for WalletError
impl<'de> Deserialize<'de> for WalletError
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
source§impl Display for WalletError
impl Display for WalletError
source§impl Error for WalletError
impl Error for WalletError
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<E: IntoWalletError> From<E> for WalletError
impl<E: IntoWalletError> From<E> for WalletError
source§impl From<Error> for WalletError
impl From<Error> for WalletError
source§impl PartialEq for WalletError
impl PartialEq for WalletError
source§impl Serialize for WalletError
impl Serialize for WalletError
impl Eq for WalletError
impl StructuralPartialEq for WalletError
Auto Trait Implementations§
impl Freeze for WalletError
impl RefUnwindSafe for WalletError
impl Send for WalletError
impl Sync for WalletError
impl Unpin for WalletError
impl UnwindSafe for WalletError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)