pub enum TlsCryptoInfo {
Aes128Gcm(tls12_crypto_info_aes_gcm_128),
Aes256Gcm(tls12_crypto_info_aes_gcm_256),
Chacha20Poly1305(tls12_crypto_info_chacha20_poly1305),
}Available on Linux and crate feature
socket only.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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TlsCryptoInfo
Auto Trait Implementations§
impl Freeze for TlsCryptoInfo
Available on Unix only.
impl RefUnwindSafe for TlsCryptoInfo
Available on Unix only.
impl Send for TlsCryptoInfo
Available on Unix only.
impl Sync for TlsCryptoInfo
Available on Unix only.
impl Unpin for TlsCryptoInfo
Available on Unix only.
impl UnsafeUnpin for TlsCryptoInfo
Available on Unix only.
impl UnwindSafe for TlsCryptoInfo
Available on Unix only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
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,
Available on Unix only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on Unix only.