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
CannotDeriveFromHardenedKey
A pk->pk derivation was attempted on a hardened key
Ecdsa(Error)
Tuple Fields
0: Error
A secp256k1 error occurred
InvalidChildNumber(u32)
Tuple Fields
0: u32
A child number was provided that was out of range
InvalidChildNumberFormat
Invalid childnumber format.
InvalidDerivationPathFormat
Invalid derivation path format.
UnknownVersion([u8; 4])
Unknown version magic bytes
WrongExtendedKeyLength(usize)
Tuple Fields
0: usize
Encoded extended key data has wrong length
Base58(Error)
Tuple Fields
0: Error
Base58 encoding error
Trait Implementations
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