pub struct PrivateKey(/* private fields */);Implementations§
Source§impl PrivateKey
impl PrivateKey
Trait Implementations§
Source§impl From<PrivateKey> for JsValue
impl From<PrivateKey> for JsValue
Source§fn from(value: PrivateKey) -> Self
fn from(value: PrivateKey) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PrivateKey
impl FromWasmAbi for PrivateKey
Source§impl IntoWasmAbi for PrivateKey
impl IntoWasmAbi for PrivateKey
Source§impl LongRefFromWasmAbi for PrivateKey
impl LongRefFromWasmAbi for PrivateKey
Source§impl OptionFromWasmAbi for PrivateKey
impl OptionFromWasmAbi for PrivateKey
Source§impl OptionIntoWasmAbi for PrivateKey
impl OptionIntoWasmAbi for PrivateKey
Source§impl RefFromWasmAbi for PrivateKey
impl RefFromWasmAbi for PrivateKey
Source§type Anchor = RcRef<PrivateKey>
type Anchor = RcRef<PrivateKey>
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.Source§impl RefMutFromWasmAbi for PrivateKey
impl RefMutFromWasmAbi for PrivateKey
Source§impl TryFromJsValue for PrivateKey
impl TryFromJsValue for PrivateKey
Source§impl VectorFromWasmAbi for PrivateKey
impl VectorFromWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PrivateKey]>
Source§impl VectorIntoWasmAbi for PrivateKey
impl VectorIntoWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PrivateKey]>) -> Self::Abi
Source§impl WasmDescribeVector for PrivateKey
impl WasmDescribeVector for PrivateKey
impl SupportsConstructor for PrivateKey
impl SupportsInstanceProperty for PrivateKey
impl SupportsStaticProperty for PrivateKey
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§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.