#[repr(u8)]pub enum ControlMessageKind {
ClientHello = 1,
ServerHello = 2,
Rekey = 3,
Error = 255,
}Expand description
Control message type discriminator for Draft v0 control payloads.
Variants§
ClientHello = 1
Initiator ephemeral key + session salt.
ServerHello = 2
Responder ephemeral key.
Rekey = 3
Rekey notification carrying salt and key-id transition.
Error = 255
Generic protocol error.
Trait Implementations§
Source§impl Clone for ControlMessageKind
impl Clone for ControlMessageKind
Source§fn clone(&self) -> ControlMessageKind
fn clone(&self) -> ControlMessageKind
Returns a duplicate 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 ControlMessageKind
impl Debug for ControlMessageKind
Source§impl PartialEq for ControlMessageKind
impl PartialEq for ControlMessageKind
impl Copy for ControlMessageKind
impl Eq for ControlMessageKind
impl StructuralPartialEq for ControlMessageKind
Auto Trait Implementations§
impl Freeze for ControlMessageKind
impl RefUnwindSafe for ControlMessageKind
impl Send for ControlMessageKind
impl Sync for ControlMessageKind
impl Unpin for ControlMessageKind
impl UnsafeUnpin for ControlMessageKind
impl UnwindSafe for ControlMessageKind
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