pub enum PSKKeyExchangeMode {
PSK_KE,
PSK_DHE_KE,
Unknown(u8),
}
Expand description
The PSKKeyExchangeMode
TLS protocol enum. Values in this enum are taken
from the various RFCs covering TLS, and are listed by IANA.
The Unknown
item is used when processing unrecognised ordinals.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PSKKeyExchangeMode
impl Clone for PSKKeyExchangeMode
Source§fn clone(&self) -> PSKKeyExchangeMode
fn clone(&self) -> PSKKeyExchangeMode
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 Codec for PSKKeyExchangeMode
impl Codec for PSKKeyExchangeMode
Source§impl Debug for PSKKeyExchangeMode
impl Debug for PSKKeyExchangeMode
Source§impl PartialEq for PSKKeyExchangeMode
impl PartialEq for PSKKeyExchangeMode
impl Copy for PSKKeyExchangeMode
impl Eq for PSKKeyExchangeMode
impl StructuralPartialEq for PSKKeyExchangeMode
Auto Trait Implementations§
impl Freeze for PSKKeyExchangeMode
impl RefUnwindSafe for PSKKeyExchangeMode
impl Send for PSKKeyExchangeMode
impl Sync for PSKKeyExchangeMode
impl Unpin for PSKKeyExchangeMode
impl UnwindSafe for PSKKeyExchangeMode
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