pub enum PskeKind {
PskKe,
PskDheKe,
Unknown(u8),
}Expand description
Pre-Shared Key Exchange Modes
Variants§
PskKe
PSK-only key establishment. In this mode, the server MUST NOT supply a “key_share” value.
PskDheKe
PSK with (EC)DHE key establishment. In this mode, the client and server MUST supply “key_share” values as described in RFC RFC 8446 bis-14 Section 4.2.8.
Unknown(u8)
Unknown Pre-Shared Key Exchange Mode
Trait Implementations§
impl StructuralPartialEq for PskeKind
Auto Trait Implementations§
impl Freeze for PskeKind
impl RefUnwindSafe for PskeKind
impl Send for PskeKind
impl Sync for PskeKind
impl Unpin for PskeKind
impl UnwindSafe for PskeKind
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