Struct cfxstore::cfxkey::ExtendedKeyPair
pub struct ExtendedKeyPair { /* private fields */ }
Implementations§
§impl ExtendedKeyPair
impl ExtendedKeyPair
pub fn new(secret: Secret) -> ExtendedKeyPair
pub fn with_code( secret: Secret, public: H512, chain_code: H256 ) -> ExtendedKeyPair
pub fn with_secret(secret: Secret, chain_code: H256) -> ExtendedKeyPair
pub fn with_seed(seed: &[u8]) -> Result<ExtendedKeyPair, Error>
pub fn secret(&self) -> &ExtendedSecret
pub fn public(&self) -> &ExtendedPublic
pub fn derive<T>(&self, index: Derivation<T>) -> Result<ExtendedKeyPair, Error>where
T: Label,
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedKeyPair
impl Send for ExtendedKeyPair
impl Sync for ExtendedKeyPair
impl Unpin for ExtendedKeyPair
impl UnwindSafe for ExtendedKeyPair
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