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
sourceimpl Debug for SignerError
impl Debug for SignerError
sourceimpl Display for SignerError
impl Display for SignerError
sourceimpl Error for SignerError
impl Error for SignerError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<PresignerError> for SignerError
impl From<PresignerError> for SignerError
sourcefn from(source: PresignerError) -> Self
fn from(source: PresignerError) -> Self
Converts to this type from the input type.
sourceimpl From<TransactionError> for SignerError
impl From<TransactionError> for SignerError
sourcefn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SignerError> for SignerError
impl PartialEq<SignerError> for SignerError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SignerError) -> bool
fn ne(&self, other: &SignerError) -> bool
This method tests for !=
.
impl StructuralPartialEq for SignerError
Auto Trait Implementations
impl RefUnwindSafe for SignerError
impl Send for SignerError
impl Sync for SignerError
impl Unpin for SignerError
impl UnwindSafe for SignerError
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more