pub struct XSecretKey { /* private fields */ }Expand description
The secret key for the hybrid encryption scheme.
Implementations§
Source§impl XSecretKey
impl XSecretKey
Trait Implementations§
Source§impl Clone for XSecretKey
impl Clone for XSecretKey
Source§fn clone(&self) -> XSecretKey
fn clone(&self) -> XSecretKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for XSecretKey
impl<'de> Deserialize<'de> for XSecretKey
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<XSecretKey> for JsValue
impl From<XSecretKey> for JsValue
Source§fn from(value: XSecretKey) -> Self
fn from(value: XSecretKey) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for XSecretKey
impl FromWasmAbi for XSecretKey
Source§impl IntoWasmAbi for XSecretKey
impl IntoWasmAbi for XSecretKey
Source§impl LongRefFromWasmAbi for XSecretKey
impl LongRefFromWasmAbi for XSecretKey
Source§impl NoahFromToBytes for XSecretKey
impl NoahFromToBytes for XSecretKey
Source§impl OptionFromWasmAbi for XSecretKey
impl OptionFromWasmAbi for XSecretKey
Source§impl OptionIntoWasmAbi for XSecretKey
impl OptionIntoWasmAbi for XSecretKey
Source§impl PartialEq for XSecretKey
impl PartialEq for XSecretKey
Source§impl RefFromWasmAbi for XSecretKey
impl RefFromWasmAbi for XSecretKey
Source§type Anchor = RcRef<XSecretKey>
type Anchor = RcRef<XSecretKey>
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 XSecretKey
impl RefMutFromWasmAbi for XSecretKey
Source§impl Serialize for XSecretKey
impl Serialize for XSecretKey
Source§impl TryFromJsValue for XSecretKey
impl TryFromJsValue for XSecretKey
Source§impl VectorFromWasmAbi for XSecretKey
impl VectorFromWasmAbi for XSecretKey
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[XSecretKey]>
Source§impl VectorIntoWasmAbi for XSecretKey
impl VectorIntoWasmAbi for XSecretKey
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[XSecretKey]>) -> Self::Abi
Source§impl WasmDescribeVector for XSecretKey
impl WasmDescribeVector for XSecretKey
impl Eq for XSecretKey
impl SupportsConstructor for XSecretKey
impl SupportsInstanceProperty for XSecretKey
impl SupportsStaticProperty for XSecretKey
Auto Trait Implementations§
impl Freeze for XSecretKey
impl RefUnwindSafe for XSecretKey
impl Send for XSecretKey
impl Sync for XSecretKey
impl Unpin for XSecretKey
impl UnwindSafe for XSecretKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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.