pub struct Keychain(/* private fields */);Implementations§
Trait Implementations§
source§impl From<Keychain> for DerivationIndex
impl From<Keychain> for DerivationIndex
source§impl From<Keychain> for NormalIndex
impl From<Keychain> for NormalIndex
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: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
source§fn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
impl Copy for Keychain
impl Eq for Keychain
impl StructuralEq for Keychain
impl StructuralPartialEq for Keychain
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.