pub struct ExtendedPrivKey { /* private fields */ }Implementations§
Source§impl ExtendedPrivKey
impl ExtendedPrivKey
Sourcepub fn derive<Path>(seed: &[u8], path: Path) -> Result<ExtendedPrivKey, Error>where
Path: IntoDerivationPath,
pub fn derive<Path>(seed: &[u8], path: Path) -> Result<ExtendedPrivKey, Error>where
Path: IntoDerivationPath,
Attempts to derive an extended private key from a path.
pub fn secret(&self) -> [u8; 32]
pub fn child(&self, child: ChildNumber) -> Result<ExtendedPrivKey, Error>
Trait Implementations§
Source§impl Clone for ExtendedPrivKey
impl Clone for ExtendedPrivKey
Source§fn clone(&self) -> ExtendedPrivKey
fn clone(&self) -> ExtendedPrivKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedPrivKey
impl Debug for ExtendedPrivKey
Source§impl FromStr for ExtendedPrivKey
impl FromStr for ExtendedPrivKey
Source§impl PartialEq for ExtendedPrivKey
impl PartialEq for ExtendedPrivKey
impl Eq for ExtendedPrivKey
impl StructuralPartialEq for ExtendedPrivKey
Auto Trait Implementations§
impl Freeze for ExtendedPrivKey
impl RefUnwindSafe for ExtendedPrivKey
impl Send for ExtendedPrivKey
impl Sync for ExtendedPrivKey
impl Unpin for ExtendedPrivKey
impl UnwindSafe for ExtendedPrivKey
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