pub enum Error {
BadWordCount,
BadSeed,
Bip32,
Bip85,
WordCountTooHigh,
WordCountTooLow,
}
Expand description
All errors in this crate.
Variants§
BadWordCount
Word count is not 12, 18 or 24.
BadSeed
Wrong checksum or unknown words.
Bip32
Bip32 errors like bad child numbers, derivation paths, base58 encoding and length.
Bip85
Bip85 error for invalid index or byte length.
WordCountTooHigh
Word count is higher than expected.
WordCountTooLow
Word count is lower than expected.
Trait Implementations§
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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