Struct iop_keyvault_wasm::JsMSignature
source · [−]pub struct JsMSignature { /* private fields */ }
Expand description
Multicipher signature
Implementations
sourceimpl JsMSignature
impl JsMSignature
sourcepub fn new(sign_str: &str) -> Result<JsMSignature, JsValue>
pub fn new(sign_str: &str) -> Result<JsMSignature, JsValue>
Parses a string into a {@link Signature}.
sourcepub fn from_secp(secp: &JsSecpSignature) -> Self
pub fn from_secp(secp: &JsSecpSignature) -> Self
Converts a {@link SecpSignature} into a multicipher {@link Signature}.
Trait Implementations
sourceimpl Clone for JsMSignature
impl Clone for JsMSignature
sourcefn clone(&self) -> JsMSignature
fn clone(&self) -> JsMSignature
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 JsMSignature
impl Debug for JsMSignature
sourceimpl From<JsMSignature> for JsValue
impl From<JsMSignature> for JsValue
sourcefn from(value: JsMSignature) -> Self
fn from(value: JsMSignature) -> Self
Converts to this type from the input type.
sourceimpl From<MSignature> for JsMSignature
impl From<MSignature> for JsMSignature
sourcefn from(inner: MSignature) -> Self
fn from(inner: MSignature) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for JsMSignature
impl FromWasmAbi for JsMSignature
sourceimpl IntoWasmAbi for JsMSignature
impl IntoWasmAbi for JsMSignature
sourceimpl OptionFromWasmAbi for JsMSignature
impl OptionFromWasmAbi for JsMSignature
sourceimpl OptionIntoWasmAbi for JsMSignature
impl OptionIntoWasmAbi for JsMSignature
sourceimpl RefFromWasmAbi for JsMSignature
impl RefFromWasmAbi for JsMSignature
type Anchor = Ref<'static, JsMSignature>
type Anchor = Ref<'static, JsMSignature>
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 JsMSignature
impl RefMutFromWasmAbi for JsMSignature
type Anchor = RefMut<'static, JsMSignature>
type Anchor = RefMut<'static, JsMSignature>
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 JsMSignature
impl WasmDescribe for JsMSignature
sourceimpl Wraps<MSignature> for JsMSignature
impl Wraps<MSignature> for JsMSignature
sourcefn inner(&self) -> &MSignature
fn inner(&self) -> &MSignature
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations
impl RefUnwindSafe for JsMSignature
impl Send for JsMSignature
impl Sync for JsMSignature
impl Unpin for JsMSignature
impl UnwindSafe for JsMSignature
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