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§
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