pub struct ChaCha20Poly1305Encryption { /* private fields */ }Implementations§
Source§impl ChaCha20Poly1305Encryption
impl ChaCha20Poly1305Encryption
pub fn new(config: EncryptionConfig) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChaCha20Poly1305Encryption
impl RefUnwindSafe for ChaCha20Poly1305Encryption
impl Send for ChaCha20Poly1305Encryption
impl Sync for ChaCha20Poly1305Encryption
impl Unpin for ChaCha20Poly1305Encryption
impl UnsafeUnpin for ChaCha20Poly1305Encryption
impl UnwindSafe for ChaCha20Poly1305Encryption
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