#[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 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 TlsCipherKx
impl Debug for TlsCipherKx
Source§impl PartialEq for TlsCipherKx
impl PartialEq 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>>
impl Copy for TlsCipherKx
impl Eq for TlsCipherKx
impl StructuralPartialEq for TlsCipherKx
Auto Trait Implementations§
impl Freeze for TlsCipherKx
impl RefUnwindSafe for TlsCipherKx
impl Send for TlsCipherKx
impl Sync for TlsCipherKx
impl Unpin 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