Struct iop_keyvault_wasm::JsMorpheus
source · [−]pub struct JsMorpheus;
Expand description
Starting point for deriving all Morpheus related keys in a BIP32 hierarchy. Morpheus uses Ed25519 cipher and currently there are no WASM wrappers for Bip32 nodes with that cipher. Still, Bip32 paths are returned by each object so compatible wallets can derive the same extended private keys.
Implementations
sourceimpl JsMorpheus
impl JsMorpheus
Trait Implementations
sourceimpl Clone for JsMorpheus
impl Clone for JsMorpheus
sourcefn clone(&self) -> JsMorpheus
fn clone(&self) -> JsMorpheus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JsMorpheus
impl Debug for JsMorpheus
sourceimpl From<JsMorpheus> for JsValue
impl From<JsMorpheus> for JsValue
sourcefn from(value: JsMorpheus) -> Self
fn from(value: JsMorpheus) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for JsMorpheus
impl FromWasmAbi for JsMorpheus
sourceimpl IntoWasmAbi for JsMorpheus
impl IntoWasmAbi for JsMorpheus
sourceimpl OptionFromWasmAbi for JsMorpheus
impl OptionFromWasmAbi for JsMorpheus
sourceimpl OptionIntoWasmAbi for JsMorpheus
impl OptionIntoWasmAbi for JsMorpheus
sourceimpl RefFromWasmAbi for JsMorpheus
impl RefFromWasmAbi for JsMorpheus
type Anchor = Ref<'static, JsMorpheus>
type Anchor = Ref<'static, JsMorpheus>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
sourceimpl RefMutFromWasmAbi for JsMorpheus
impl RefMutFromWasmAbi for JsMorpheus
type Anchor = RefMut<'static, JsMorpheus>
type Anchor = RefMut<'static, JsMorpheus>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for JsMorpheus
impl WasmDescribe for JsMorpheus
Auto Trait Implementations
impl RefUnwindSafe for JsMorpheus
impl Send for JsMorpheus
impl Sync for JsMorpheus
impl Unpin for JsMorpheus
impl UnwindSafe for JsMorpheus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more