Enum solana_sdk::signer::SignerError
source · pub enum SignerError {
KeypairPubkeyMismatch,
NotEnoughSigners,
TransactionError(TransactionError),
Custom(String),
PresignerError(PresignerError),
Connection(String),
InvalidInput(String),
NoDeviceFound,
Protocol(String),
UserCancel(String),
TooManySigners,
}
Variants§
KeypairPubkeyMismatch
NotEnoughSigners
TransactionError(TransactionError)
Custom(String)
PresignerError(PresignerError)
Connection(String)
InvalidInput(String)
NoDeviceFound
Protocol(String)
UserCancel(String)
TooManySigners
Trait Implementations§
source§impl Debug for SignerError
impl Debug for SignerError
source§impl Display for SignerError
impl Display for SignerError
source§impl Error for SignerError
impl Error for SignerError
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<PresignerError> for SignerError
impl From<PresignerError> for SignerError
source§fn from(source: PresignerError) -> Self
fn from(source: PresignerError) -> Self
Converts to this type from the input type.
source§impl From<TransactionError> for SignerError
impl From<TransactionError> for SignerError
source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
source§impl PartialEq<SignerError> for SignerError
impl PartialEq<SignerError> for SignerError
source§fn eq(&self, other: &SignerError) -> bool
fn eq(&self, other: &SignerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.