pub enum TlsCryptoInfo {
Aes128Gcm(tls12_crypto_info_aes_gcm_128),
Aes256Gcm(tls12_crypto_info_aes_gcm_256),
Chacha20Poly1305(tls12_crypto_info_chacha20_poly1305),
}
Variants§
Aes128Gcm(tls12_crypto_info_aes_gcm_128)
AES-128-GCM
Aes256Gcm(tls12_crypto_info_aes_gcm_256)
AES-256-GCM
Chacha20Poly1305(tls12_crypto_info_chacha20_poly1305)
CHACHA20-POLY1305
Trait Implementations§
source§impl Clone for TlsCryptoInfo
impl Clone for TlsCryptoInfo
source§fn clone(&self) -> TlsCryptoInfo
fn clone(&self) -> TlsCryptoInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TlsCryptoInfo
impl Debug for TlsCryptoInfo
impl Copy for TlsCryptoInfo
Auto Trait Implementations§
impl Freeze for TlsCryptoInfo
impl RefUnwindSafe for TlsCryptoInfo
impl Send for TlsCryptoInfo
impl Sync for TlsCryptoInfo
impl Unpin for TlsCryptoInfo
impl UnwindSafe for TlsCryptoInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)