Struct ockam_vault::SecretBufferHandle
source · pub struct SecretBufferHandle(pub HandleToSecret);
Expand description
A handle to a secret Buffer (like an HKDF output).
Tuple Fields§
§0: HandleToSecret
Trait Implementations§
source§impl Clone for SecretBufferHandle
impl Clone for SecretBufferHandle
source§fn clone(&self) -> SecretBufferHandle
fn clone(&self) -> SecretBufferHandle
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 Debug for SecretBufferHandle
impl Debug for SecretBufferHandle
source§impl Ord for SecretBufferHandle
impl Ord for SecretBufferHandle
source§fn cmp(&self, other: &SecretBufferHandle) -> Ordering
fn cmp(&self, other: &SecretBufferHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SecretBufferHandle
impl PartialEq for SecretBufferHandle
source§fn eq(&self, other: &SecretBufferHandle) -> bool
fn eq(&self, other: &SecretBufferHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SecretBufferHandle
impl PartialOrd for SecretBufferHandle
source§fn partial_cmp(&self, other: &SecretBufferHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &SecretBufferHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SecretBufferHandle
impl StructuralEq for SecretBufferHandle
impl StructuralPartialEq for SecretBufferHandle
Auto Trait Implementations§
impl RefUnwindSafe for SecretBufferHandle
impl Send for SecretBufferHandle
impl Sync for SecretBufferHandle
impl Unpin for SecretBufferHandle
impl UnwindSafe for SecretBufferHandle
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
§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
Compare self to
key
and return true
if they are equal.