pub struct ChaCha20Poly1305Cipher(/* private fields */);Expand description
A stateless ChaCha20Poly1305 cipher. Callers supply the full 12-byte IETF nonce on every call.
Nonce management is the caller’s responsibility — typically handled by
StrobeNkTransport.
Implementations§
Source§impl ChaCha20Poly1305Cipher
impl ChaCha20Poly1305Cipher
Auto Trait Implementations§
impl Freeze for ChaCha20Poly1305Cipher
impl RefUnwindSafe for ChaCha20Poly1305Cipher
impl Send for ChaCha20Poly1305Cipher
impl Sync for ChaCha20Poly1305Cipher
impl Unpin for ChaCha20Poly1305Cipher
impl UnsafeUnpin for ChaCha20Poly1305Cipher
impl UnwindSafe for ChaCha20Poly1305Cipher
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