Enum rustls::BulkAlgorithm
source · pub enum BulkAlgorithm {
Aes128Gcm,
Aes256Gcm,
Chacha20Poly1305,
}
Expand description
Bulk symmetric encryption scheme used by a cipher suite.
Variants§
Aes128Gcm
AES with 128-bit keys in Galois counter mode.
Aes256Gcm
AES with 256-bit keys in Galois counter mode.
Chacha20Poly1305
Chacha20 for confidentiality with poly1305 for authenticity.
Trait Implementations§
source§impl Debug for BulkAlgorithm
impl Debug for BulkAlgorithm
source§impl PartialEq<BulkAlgorithm> for BulkAlgorithm
impl PartialEq<BulkAlgorithm> for BulkAlgorithm
source§fn eq(&self, other: &BulkAlgorithm) -> bool
fn eq(&self, other: &BulkAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BulkAlgorithm
impl StructuralEq for BulkAlgorithm
impl StructuralPartialEq for BulkAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for BulkAlgorithm
impl Send for BulkAlgorithm
impl Sync for BulkAlgorithm
impl Unpin for BulkAlgorithm
impl UnwindSafe for BulkAlgorithm
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