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::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: 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 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.