pub struct Nonce(/* private fields */);Expand description
A client-generated 64-byte nonce.
Zeroized on drop: the nonce is the one value this client generates itself that carries any unpredictability, so it is scrubbed as defense-in-depth even though the protocol does not treat it as a secret in the classic sense (see the crate-level security notes).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nonce
impl RefUnwindSafe for Nonce
impl Send for Nonce
impl Sync for Nonce
impl Unpin for Nonce
impl UnsafeUnpin for Nonce
impl UnwindSafe for Nonce
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