Struct ockam_vault::X25519SecretKey
source · pub struct X25519SecretKey(/* private fields */);
Expand description
X25519 Secret Key.
Implementations§
Trait Implementations§
source§impl Clone for X25519SecretKey
impl Clone for X25519SecretKey
source§fn clone(&self) -> X25519SecretKey
fn clone(&self) -> X25519SecretKey
Returns a copy 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 Drop for X25519SecretKey
impl Drop for X25519SecretKey
source§impl From<X25519SecretKey> for StoredSecret
impl From<X25519SecretKey> for StoredSecret
source§fn from(value: X25519SecretKey) -> Self
fn from(value: X25519SecretKey) -> Self
Converts to this type from the input type.
source§impl PartialEq for X25519SecretKey
impl PartialEq for X25519SecretKey
source§fn eq(&self, other: &X25519SecretKey) -> bool
fn eq(&self, other: &X25519SecretKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<StoredSecret> for X25519SecretKey
impl TryFrom<StoredSecret> for X25519SecretKey
source§impl Zeroize for X25519SecretKey
impl Zeroize for X25519SecretKey
impl Eq for X25519SecretKey
impl StructuralEq for X25519SecretKey
impl StructuralPartialEq for X25519SecretKey
Auto Trait Implementations§
impl RefUnwindSafe for X25519SecretKey
impl Send for X25519SecretKey
impl Sync for X25519SecretKey
impl Unpin for X25519SecretKey
impl UnwindSafe for X25519SecretKey
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more