Enum bitcoin::util::bip32::Error [−][src]
pub enum Error { CannotDeriveFromHardenedKey, Ecdsa(Error), InvalidChildNumber(u32), InvalidChildNumberFormat, InvalidDerivationPathFormat, UnknownVersion([u8; 4]), WrongExtendedKeyLength(usize), Base58(Error), }
Expand description
A BIP32 error
Variants
A pk->pk derivation was attempted on a hardened key
Ecdsa(Error)
A secp256k1 error occurred
InvalidChildNumber(u32)
A child number was provided that was out of range
Invalid childnumber format.
Invalid derivation path format.
Unknown version magic bytes
WrongExtendedKeyLength(usize)
Encoded extended key data has wrong length
Base58(Error)
Base58 encoding error
Trait Implementations
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
use the Display impl or to_string()
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more