#[repr(u8)]pub enum TlsCipherKx {
Null = 0,
Psk = 1,
Krb5 = 2,
Srp = 3,
Rsa = 4,
Dh = 5,
Dhe = 6,
Ecdh = 7,
Ecdhe = 8,
Aecdh = 9,
Eccpwd = 10,
Tls13 = 11,
}Expand description
Key exchange methods
Variants§
Null = 0
Psk = 1
Krb5 = 2
Srp = 3
Rsa = 4
Dh = 5
Dhe = 6
Ecdh = 7
Ecdhe = 8
Aecdh = 9
Eccpwd = 10
Tls13 = 11
Trait Implementations§
Source§impl Clone for TlsCipherKx
impl Clone for TlsCipherKx
Source§fn clone(&self) -> TlsCipherKx
fn clone(&self) -> TlsCipherKx
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 TlsCipherKx
Source§impl Debug for TlsCipherKx
impl Debug for TlsCipherKx
impl Eq for TlsCipherKx
Source§impl PartialEq for TlsCipherKx
impl PartialEq for TlsCipherKx
Source§fn eq(&self, other: &TlsCipherKx) -> bool
fn eq(&self, other: &TlsCipherKx) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TlsCipherKx
Source§impl TryFrom<u8> for TlsCipherKx
impl TryFrom<u8> for TlsCipherKx
Source§type Error = TryFromPrimitiveError<TlsCipherKx>
type Error = TryFromPrimitiveError<TlsCipherKx>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TlsCipherKx
impl TryFromPrimitive for TlsCipherKx
const NAME: &'static str = "TlsCipherKx"
type Primitive = u8
type Error = TryFromPrimitiveError<TlsCipherKx>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for TlsCipherKx
impl RefUnwindSafe for TlsCipherKx
impl Send for TlsCipherKx
impl Sync for TlsCipherKx
impl Unpin for TlsCipherKx
impl UnsafeUnpin for TlsCipherKx
impl UnwindSafe for TlsCipherKx
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