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<Hint> for Hint
impl PartialEq<Hint> for Hint
impl Copy for Hint
impl Eq for Hint
impl StructuralEq for Hint
impl StructuralPartialEq for Hint
Auto Trait Implementations§
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