pub enum LedgerBTCError {
Bip32Error(Bip32Error),
DerivationTooLong,
LedgerError(LedgerError),
UnexpectedNullResponse,
SigningInfoLengthMismatch,
}
Expand description
Error types
Variants§
Bip32Error(Bip32Error)
Bip32 Error
DerivationTooLong
Derivation path too long for ledger
LedgerError(LedgerError)
Underlying ledger transport error
UnexpectedNullResponse
Device response was unexpectedly none
SigningInfoLengthMismatch
get_tx_signatures
received an incorrect number of signing_info objects
Trait Implementations§
Source§impl Debug for LedgerBTCError
impl Debug for LedgerBTCError
Source§impl Display for LedgerBTCError
impl Display for LedgerBTCError
Source§impl Error for LedgerBTCError
impl Error for LedgerBTCError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Bip32Error> for LedgerBTCError
impl From<Bip32Error> for LedgerBTCError
Source§fn from(source: Bip32Error) -> Self
fn from(source: Bip32Error) -> Self
Converts to this type from the input type.
Source§impl From<LedgerError> for LedgerBTCError
impl From<LedgerError> for LedgerBTCError
Source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LedgerBTCError
impl !RefUnwindSafe for LedgerBTCError
impl Send for LedgerBTCError
impl Sync for LedgerBTCError
impl Unpin for LedgerBTCError
impl !UnwindSafe for LedgerBTCError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more