Struct kaspa_bip32::wasm::xprv::XPrv
source · pub struct XPrv { /* private fields */ }
Implementations§
source§impl XPrv
impl XPrv
pub fn new(seed: String) -> Result<XPrv>
pub fn derive_child( &self, chile_number: u32, hardened: Option<bool> ) -> Result<XPrv>
pub fn derive_path(&self, path: JsValue) -> Result<XPrv>
pub fn to_str(&self, prefix: &str) -> Result<String>
pub fn public_key(&self) -> Result<XPub>
Trait Implementations§
source§impl FromWasmAbi for XPrv
impl FromWasmAbi for XPrv
source§impl IntoWasmAbi for XPrv
impl IntoWasmAbi for XPrv
source§impl LongRefFromWasmAbi for XPrv
impl LongRefFromWasmAbi for XPrv
source§impl OptionFromWasmAbi for XPrv
impl OptionFromWasmAbi for XPrv
source§impl OptionIntoWasmAbi for XPrv
impl OptionIntoWasmAbi for XPrv
source§impl RefFromWasmAbi for XPrv
impl RefFromWasmAbi for XPrv
source§impl RefMutFromWasmAbi for XPrv
impl RefMutFromWasmAbi for XPrv
Auto Trait Implementations§
impl RefUnwindSafe for XPrv
impl Send for XPrv
impl Sync for XPrv
impl Unpin for XPrv
impl UnwindSafe for XPrv
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.