#[non_exhaustive]pub enum KtlsCipherType {
AesGcm128,
AesGcm256,
Chacha20Poly1305,
}Expand description
Cipher types supported by this crate
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.
Trait Implementations§
Source§impl Clone for KtlsCipherType
impl Clone for KtlsCipherType
Source§fn clone(&self) -> KtlsCipherType
fn clone(&self) -> KtlsCipherType
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 moreSource§impl Debug for KtlsCipherType
impl Debug for KtlsCipherType
impl Copy for KtlsCipherType
Auto Trait Implementations§
impl Freeze for KtlsCipherType
impl RefUnwindSafe for KtlsCipherType
impl Send for KtlsCipherType
impl Sync for KtlsCipherType
impl Unpin for KtlsCipherType
impl UnsafeUnpin for KtlsCipherType
impl UnwindSafe for KtlsCipherType
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