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
sourceimpl Debug for BulkAlgorithm
impl Debug for BulkAlgorithm
sourceimpl PartialEq<BulkAlgorithm> for BulkAlgorithm
impl PartialEq<BulkAlgorithm> for BulkAlgorithm
sourcefn eq(&self, other: &BulkAlgorithm) -> bool
fn eq(&self, other: &BulkAlgorithm) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more