Enum coins_bip32::primitives::Hint
source · pub enum Hint {
Legacy,
Compatibility,
SegWit,
}
Expand description
We treat the bip32 xpub bip49 ypub and bip84 zpub convention as a hint regarding address type. Downstream crates are free to follow or ignore these hints when generating addresses from extended keys.
Variants§
Legacy
Standard Bip32 hint
Compatibility
Bip32 + Bip49 hint for Witness-via-P2SH
SegWit
Bip32 + Bip84 hint for Native SegWit
Trait Implementations§
source§impl PartialEq for Hint
impl PartialEq for Hint
impl Copy for Hint
impl Eq for Hint
impl StructuralPartialEq for Hint
Auto Trait Implementations§
impl Freeze for Hint
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnwindSafe for Hint
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)