Enum rustls::BulkAlgorithm
source · pub enum BulkAlgorithm {
AES_128_GCM,
AES_256_GCM,
CHACHA20_POLY1305,
}
Expand description
Bulk symmetric encryption scheme used by a cipher suite.
Variants§
AES_128_GCM
AES with 128-bit keys in Galois counter mode.
AES_256_GCM
AES with 256-bit keys in Galois counter mode.
CHACHA20_POLY1305
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 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