Enum solana_sdk::signature::SignerError [−][src]
pub enum SignerError { KeypairPubkeyMismatch, NotEnoughSigners, TransactionError(TransactionError), Custom(String), PresignerError(PresignerError), Connection(String), InvalidInput(String), NoDeviceFound, Protocol(String), UserCancel(String), }
Variants
TransactionError(TransactionError)
Custom(String)
PresignerError(PresignerError)
Connection(String)
InvalidInput(String)
Protocol(String)
UserCancel(String)
Trait Implementations
impl Debug for SignerError
[src]
impl Debug for SignerError
[src]impl Display for SignerError
[src]
impl Display for SignerError
[src]impl Error for SignerError
[src]
impl Error for SignerError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<PresignerError> for SignerError
[src]
impl From<PresignerError> for SignerError
[src]fn from(source: PresignerError) -> Self
[src]
fn from(source: PresignerError) -> Self
[src]Performs the conversion.
impl From<TransactionError> for SignerError
[src]
impl From<TransactionError> for SignerError
[src]fn from(source: TransactionError) -> Self
[src]
fn from(source: TransactionError) -> Self
[src]Performs the conversion.
impl PartialEq<SignerError> for SignerError
[src]
impl PartialEq<SignerError> for SignerError
[src]fn eq(&self, other: &SignerError) -> bool
[src]
fn eq(&self, other: &SignerError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SignerError) -> bool
[src]
fn ne(&self, other: &SignerError) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for SignerError
[src]
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
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> AsFail for T where
T: Fail,
impl<T> AsFail for T where
T: Fail,
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,