pub struct JsMKeyId { /* private fields */ }
Expand description
Multicipher key id (fingerprint/digest/hash of a public key)
In some algorithms the public key is only revealed in point-to-point communications and a keypair is identified only by the digest of the public key in all other channels.
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for JsMKeyId
impl FromWasmAbi for JsMKeyId
Source§impl IntoWasmAbi for JsMKeyId
impl IntoWasmAbi for JsMKeyId
Source§impl LongRefFromWasmAbi for JsMKeyId
impl LongRefFromWasmAbi for JsMKeyId
Source§impl OptionFromWasmAbi for JsMKeyId
impl OptionFromWasmAbi for JsMKeyId
Source§impl OptionIntoWasmAbi for JsMKeyId
impl OptionIntoWasmAbi for JsMKeyId
Source§impl RefFromWasmAbi for JsMKeyId
impl RefFromWasmAbi for JsMKeyId
Source§type Anchor = RcRef<JsMKeyId>
type Anchor = RcRef<JsMKeyId>
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§unsafe fn ref_from_abi(
js: <JsMKeyId as RefFromWasmAbi>::Abi,
) -> <JsMKeyId as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <JsMKeyId as RefFromWasmAbi>::Abi, ) -> <JsMKeyId as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for JsMKeyId
impl RefMutFromWasmAbi for JsMKeyId
Source§impl TryFromJsValue for JsMKeyId
impl TryFromJsValue for JsMKeyId
Source§impl VectorFromWasmAbi for JsMKeyId
impl VectorFromWasmAbi for JsMKeyId
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <JsMKeyId as VectorFromWasmAbi>::Abi, ) -> Box<[JsMKeyId]>
Source§impl VectorIntoWasmAbi for JsMKeyId
impl VectorIntoWasmAbi for JsMKeyId
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[JsMKeyId]>, ) -> <JsMKeyId as VectorIntoWasmAbi>::Abi
Auto Trait Implementations§
impl Freeze for JsMKeyId
impl RefUnwindSafe for JsMKeyId
impl Send for JsMKeyId
impl Sync for JsMKeyId
impl Unpin for JsMKeyId
impl UnwindSafe for JsMKeyId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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::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
.