pub struct ChaCha20Nonce(/* private fields */);Expand description
96-bit IETF nonce for ChaCha20Poly1305.
Implementations§
Trait Implementations§
Source§impl Clone for ChaCha20Nonce
impl Clone for ChaCha20Nonce
Source§fn clone(&self) -> ChaCha20Nonce
fn clone(&self) -> ChaCha20Nonce
Returns a duplicate 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 ChaCha20Nonce
impl Debug for ChaCha20Nonce
Source§impl PartialEq for ChaCha20Nonce
impl PartialEq for ChaCha20Nonce
impl Copy for ChaCha20Nonce
impl Eq for ChaCha20Nonce
impl StructuralPartialEq for ChaCha20Nonce
Auto Trait Implementations§
impl Freeze for ChaCha20Nonce
impl RefUnwindSafe for ChaCha20Nonce
impl Send for ChaCha20Nonce
impl Sync for ChaCha20Nonce
impl Unpin for ChaCha20Nonce
impl UnsafeUnpin for ChaCha20Nonce
impl UnwindSafe for ChaCha20Nonce
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