pub enum Slip10Error {
ExpectedHardenedIndex(ChildIndex),
SeedTooShort {
got: usize,
min: usize,
},
}Expand description
Failure during SLIP-0010 derivation.
Variants§
ExpectedHardenedIndex(ChildIndex)
A non-hardened index was used. Ed25519 supports hardened derivation only; this is refused rather than silently hardened.
SeedTooShort
The master seed was shorter than MIN_SEED_LEN.
Trait Implementations§
Source§impl Debug for Slip10Error
impl Debug for Slip10Error
Source§impl Display for Slip10Error
impl Display for Slip10Error
Source§impl Error for Slip10Error
impl Error for Slip10Error
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for Slip10Error
impl RefUnwindSafe for Slip10Error
impl Send for Slip10Error
impl Sync for Slip10Error
impl Unpin for Slip10Error
impl UnsafeUnpin for Slip10Error
impl UnwindSafe for Slip10Error
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