pub enum RemoteWalletError {
Hid(String),
DeviceTypeMismatch,
InvalidDevice,
DerivationPathError(DerivationPathError),
InvalidInput(String),
InvalidPath(String),
LedgerError(LedgerError),
NoDeviceFound,
Protocol(&'static str),
PubkeyNotFound,
UserCancel,
LocatorError(LocatorError),
}
Expand description
Remote wallet error.
Variants§
Hid(String)
DeviceTypeMismatch
InvalidDevice
DerivationPathError(DerivationPathError)
InvalidInput(String)
InvalidPath(String)
LedgerError(LedgerError)
NoDeviceFound
Protocol(&'static str)
PubkeyNotFound
UserCancel
LocatorError(LocatorError)
Trait Implementations§
source§impl Clone for RemoteWalletError
impl Clone for RemoteWalletError
source§fn clone(&self) -> RemoteWalletError
fn clone(&self) -> RemoteWalletError
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 RemoteWalletError
impl Debug for RemoteWalletError
source§impl Display for RemoteWalletError
impl Display for RemoteWalletError
source§impl Error for RemoteWalletError
impl Error for RemoteWalletError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DerivationPathError> for RemoteWalletError
impl From<DerivationPathError> for RemoteWalletError
source§fn from(source: DerivationPathError) -> Self
fn from(source: DerivationPathError) -> Self
Converts to this type from the input type.
source§impl From<HidError> for RemoteWalletError
impl From<HidError> for RemoteWalletError
source§fn from(err: HidError) -> RemoteWalletError
fn from(err: HidError) -> RemoteWalletError
Converts to this type from the input type.
source§impl From<LedgerError> for RemoteWalletError
impl From<LedgerError> for RemoteWalletError
source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
source§impl From<LocatorError> for RemoteWalletError
impl From<LocatorError> for RemoteWalletError
source§fn from(source: LocatorError) -> Self
fn from(source: LocatorError) -> Self
Converts to this type from the input type.
source§impl From<RemoteWalletError> for SignerError
impl From<RemoteWalletError> for SignerError
source§fn from(err: RemoteWalletError) -> SignerError
fn from(err: RemoteWalletError) -> SignerError
Converts to this type from the input type.