pub struct Keychain(/* private fields */);
Implementations§
Trait Implementations§
Source§impl From<Keychain> for DerivationIndex
impl From<Keychain> for DerivationIndex
Source§fn from(keychain: Keychain) -> DerivationIndex
fn from(keychain: Keychain) -> DerivationIndex
Converts to this type from the input type.
Source§impl From<Keychain> for NormalIndex
impl From<Keychain> for NormalIndex
Source§fn from(keychain: Keychain) -> NormalIndex
fn from(keychain: Keychain) -> NormalIndex
Converts to this type from the input type.
Source§impl IdxBase for Keychain
impl IdxBase for Keychain
Source§fn is_hardened(&self) -> bool
fn is_hardened(&self) -> bool
Detects whether path segment uses hardened index(es)
Source§fn child_number(&self) -> u32
fn child_number(&self) -> u32
Returns child number corresponding to this index. Read more
Source§fn index(&self) -> u32
fn index(&self) -> u32
Returns value used during derivation, which for normal indexes must lie
in range
0..
HARDENED_INDEX_BOUNDARY
and for hardened in range
of HARDENED_INDEX_BOUNDARY
..=u32::MAX
Source§impl Ord for Keychain
impl Ord for Keychain
Source§impl PartialOrd for Keychain
impl PartialOrd for Keychain
Source§impl Wrapper for Keychain
impl Wrapper for Keychain
Source§fn from_inner(inner: <Keychain as Wrapper>::Inner) -> Keychain
fn from_inner(inner: <Keychain as Wrapper>::Inner) -> Keychain
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &<Keychain as Wrapper>::Inner
fn as_inner(&self) -> &<Keychain as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> <Keychain as Wrapper>::Inner
fn into_inner(self) -> <Keychain as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Copy for Keychain
impl Eq for Keychain
impl StructuralPartialEq for Keychain
Auto Trait Implementations§
impl Freeze for Keychain
impl RefUnwindSafe for Keychain
impl Send for Keychain
impl Sync for Keychain
impl Unpin for Keychain
impl UnwindSafe for Keychain
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.