pub enum CurveType {
Secp256k1,
Secp256r1,
}Expand description
Curves supported by SLIP-10 spec
It’s either secp256k1 or secp256r1. Note that SLIP-10 also supports ed25519 curve, but this library does not support it.
CurveType is only needed for master key derivation.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CurveType
impl RefUnwindSafe for CurveType
impl Send for CurveType
impl Sync for CurveType
impl Unpin for CurveType
impl UnwindSafe for CurveType
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