Enum solana_remote_wallet::ledger_error::LedgerError [−][src]
pub enum LedgerError {
Show 27 variants
NoAppResponse,
SdkException,
SdkInvalidParameter,
SdkExceptionOverflow,
SdkExceptionSecurity,
SdkInvalidCrc,
SdkInvalidChecksum,
SdkInvalidCounter,
SdkNotSupported,
SdkInvalidState,
SdkTimeout,
SdkExceptionPic,
SdkExceptionAppExit,
SdkExceptionIoOverflow,
SdkExceptionIoHeader,
SdkExceptionIoState,
SdkExceptionIoReset,
SdkExceptionCxPort,
SdkExceptionSystem,
SdkNotEnoughSpace,
NoApduReceived,
UserCancel,
SolanaInvalidMessage,
SolanaSummaryFinalizeFailed,
SolanaSummaryUpdateFailed,
UnimplementedInstruction,
InvalidCla,
}
Variants
NoAppResponse
SdkException
SdkInvalidParameter
SdkExceptionOverflow
SdkExceptionSecurity
SdkInvalidCrc
SdkInvalidChecksum
SdkInvalidCounter
SdkNotSupported
SdkInvalidState
SdkTimeout
SdkExceptionPic
SdkExceptionAppExit
SdkExceptionIoOverflow
SdkExceptionIoHeader
SdkExceptionIoState
SdkExceptionIoReset
SdkExceptionCxPort
SdkExceptionSystem
SdkNotEnoughSpace
NoApduReceived
UserCancel
SolanaInvalidMessage
SolanaSummaryFinalizeFailed
SolanaSummaryUpdateFailed
UnimplementedInstruction
InvalidCla
Trait Implementations
Performs the conversion.
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for LedgerError
impl Send for LedgerError
impl Sync for LedgerError
impl Unpin for LedgerError
impl UnwindSafe for LedgerError
Blanket Implementations
pub default fn example() -> T
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
.
Mutably borrows from an owned value. Read more