Struct iop_keyvault_wasm::JsSecpSignature
source · [−]pub struct JsSecpSignature { /* private fields */ }
Expand description
Secp256k1 signature
Implementations
sourceimpl JsSecpSignature
impl JsSecpSignature
sourcepub fn from_der(bytes: &[u8]) -> Result<JsSecpSignature, JsValue>
pub fn from_der(bytes: &[u8]) -> Result<JsSecpSignature, JsValue>
Deserializes an ASN.1 DER encoded buffer into a {@link SepcSignature}
Trait Implementations
sourceimpl Clone for JsSecpSignature
impl Clone for JsSecpSignature
sourcefn clone(&self) -> JsSecpSignature
fn clone(&self) -> JsSecpSignature
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 JsSecpSignature
impl Debug for JsSecpSignature
sourceimpl From<JsSecpSignature> for JsValue
impl From<JsSecpSignature> for JsValue
sourcefn from(value: JsSecpSignature) -> Self
fn from(value: JsSecpSignature) -> Self
Converts to this type from the input type.
sourceimpl From<SecpSignature> for JsSecpSignature
impl From<SecpSignature> for JsSecpSignature
sourcefn from(inner: SecpSignature) -> Self
fn from(inner: SecpSignature) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for JsSecpSignature
impl FromWasmAbi for JsSecpSignature
sourceimpl IntoWasmAbi for JsSecpSignature
impl IntoWasmAbi for JsSecpSignature
sourceimpl OptionFromWasmAbi for JsSecpSignature
impl OptionFromWasmAbi for JsSecpSignature
sourceimpl OptionIntoWasmAbi for JsSecpSignature
impl OptionIntoWasmAbi for JsSecpSignature
sourceimpl RefFromWasmAbi for JsSecpSignature
impl RefFromWasmAbi for JsSecpSignature
type Anchor = Ref<'static, JsSecpSignature>
type Anchor = Ref<'static, JsSecpSignature>
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 JsSecpSignature
impl RefMutFromWasmAbi for JsSecpSignature
type Anchor = RefMut<'static, JsSecpSignature>
type Anchor = RefMut<'static, JsSecpSignature>
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 JsSecpSignature
impl WasmDescribe for JsSecpSignature
sourceimpl Wraps<SecpSignature> for JsSecpSignature
impl Wraps<SecpSignature> for JsSecpSignature
sourcefn inner(&self) -> &SecpSignature
fn inner(&self) -> &SecpSignature
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations
impl RefUnwindSafe for JsSecpSignature
impl Send for JsSecpSignature
impl Sync for JsSecpSignature
impl Unpin for JsSecpSignature
impl UnwindSafe for JsSecpSignature
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