Struct ockam_vault::BufferSecret
source · pub struct BufferSecret(/* private fields */);
Expand description
Buffer with sensitive data, like HKDF output.
Implementations§
Trait Implementations§
source§impl Clone for BufferSecret
impl Clone for BufferSecret
source§fn clone(&self) -> BufferSecret
fn clone(&self) -> BufferSecret
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 BufferSecret
impl Drop for BufferSecret
source§impl PartialEq for BufferSecret
impl PartialEq for BufferSecret
source§fn eq(&self, other: &BufferSecret) -> bool
fn eq(&self, other: &BufferSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Zeroize for BufferSecret
impl Zeroize for BufferSecret
impl Eq for BufferSecret
impl StructuralEq for BufferSecret
impl StructuralPartialEq for BufferSecret
Auto Trait Implementations§
impl RefUnwindSafe for BufferSecret
impl Send for BufferSecret
impl Sync for BufferSecret
impl Unpin for BufferSecret
impl UnwindSafe for BufferSecret
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
§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.