#[non_exhaustive]pub enum CipherSuite {
#[non_exhaustive]
TLS_AES_128_GCM_SHA256 {},
#[non_exhaustive]
TLS_AES_256_GCM_SHA384 {},
#[non_exhaustive]
TLS_CHACHA20_POLY1305_SHA256 {},
#[non_exhaustive]
Unknown {},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl AsVariant for CipherSuite
impl AsVariant for CipherSuite
Source§impl Clone for CipherSuite
impl Clone for CipherSuite
Source§fn clone(&self) -> CipherSuite
fn clone(&self) -> CipherSuite
Returns a duplicate 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 CipherSuite
impl Debug for CipherSuite
Source§impl IntoEvent<CipherSuite> for CipherSuite
impl IntoEvent<CipherSuite> for CipherSuite
fn into_event(self) -> CipherSuite
Source§impl IntoEvent<CipherSuite> for CipherSuite
impl IntoEvent<CipherSuite> for CipherSuite
fn into_event(self) -> CipherSuite
Source§impl PartialEq for CipherSuite
impl PartialEq for CipherSuite
impl Copy for CipherSuite
impl Eq for CipherSuite
impl StructuralPartialEq for CipherSuite
Auto Trait Implementations§
impl Freeze for CipherSuite
impl RefUnwindSafe for CipherSuite
impl Send for CipherSuite
impl Sync for CipherSuite
impl Unpin for CipherSuite
impl UnwindSafe for CipherSuite
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