#[repr(u8)]pub enum TlsCipherEnc {
Show 13 variants
Null = 0,
Des = 1,
TripleDes = 2,
Rc2 = 3,
Rc4 = 4,
Aria = 5,
Idea = 6,
Seed = 7,
Aes = 8,
Camellia = 9,
Chacha20_Poly1305 = 10,
Sm4 = 11,
Aegis = 12,
}
Expand description
Encryption methods
Variants§
Null = 0
Des = 1
TripleDes = 2
Rc2 = 3
Rc4 = 4
Aria = 5
Idea = 6
Seed = 7
Aes = 8
Camellia = 9
Chacha20_Poly1305 = 10
Sm4 = 11
Aegis = 12
Trait Implementations§
Source§impl Clone for TlsCipherEnc
impl Clone for TlsCipherEnc
Source§fn clone(&self) -> TlsCipherEnc
fn clone(&self) -> TlsCipherEnc
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 TlsCipherEnc
impl Debug for TlsCipherEnc
Source§impl PartialEq for TlsCipherEnc
impl PartialEq for TlsCipherEnc
Source§impl TryFrom<u8> for TlsCipherEnc
impl TryFrom<u8> for TlsCipherEnc
Source§type Error = TryFromPrimitiveError<TlsCipherEnc>
type Error = TryFromPrimitiveError<TlsCipherEnc>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TlsCipherEnc
impl TryFromPrimitive for TlsCipherEnc
const NAME: &'static str = "TlsCipherEnc"
type Primitive = u8
type Error = TryFromPrimitiveError<TlsCipherEnc>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TlsCipherEnc
impl Eq for TlsCipherEnc
impl StructuralPartialEq for TlsCipherEnc
Auto Trait Implementations§
impl Freeze for TlsCipherEnc
impl RefUnwindSafe for TlsCipherEnc
impl Send for TlsCipherEnc
impl Sync for TlsCipherEnc
impl Unpin for TlsCipherEnc
impl UnwindSafe for TlsCipherEnc
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