Struct rustls::tls12::cipher::ChaCha20Poly1305
source · pub(crate) struct ChaCha20Poly1305;
Trait Implementations§
source§impl Tls12AeadAlgorithm for ChaCha20Poly1305
impl Tls12AeadAlgorithm for ChaCha20Poly1305
fn decrypter( &self, dec_key: LessSafeKey, iv: &[u8], ) -> Box<dyn MessageDecrypter>
fn encrypter( &self, enc_key: LessSafeKey, enc_iv: &[u8], _: &[u8], ) -> Box<dyn MessageEncrypter>
Auto Trait Implementations§
impl Freeze for ChaCha20Poly1305
impl RefUnwindSafe for ChaCha20Poly1305
impl Send for ChaCha20Poly1305
impl Sync for ChaCha20Poly1305
impl Unpin for ChaCha20Poly1305
impl UnwindSafe for ChaCha20Poly1305
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