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::MAXsource§impl Ord for Keychain
 
impl Ord for Keychain
source§impl PartialEq for Keychain
 
impl PartialEq for Keychain
source§impl PartialOrd for Keychain
 
impl PartialOrd for Keychain
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§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<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.