Struct noise_rust_crypto::sensitive::Sensitive
source · pub struct Sensitive<A: U8Array + Zeroize>(/* private fields */);
Expand description
Struct holding a value that is safely zeroed on drop.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> RefUnwindSafe for Sensitive<A>where A: RefUnwindSafe,
impl<A> Send for Sensitive<A>where A: Send,
impl<A> Sync for Sensitive<A>where A: Sync,
impl<A> Unpin for Sensitive<A>where A: Unpin,
impl<A> UnwindSafe for Sensitive<A>where A: UnwindSafe,
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