#[repr(u8)]pub enum HandshakeFrameType {
Init = 0,
Response = 1,
Confirm = 2,
}Expand description
Sub-type of handshake frame.
Variants§
Init = 0
Initiator sends its ephemeral key and signature.
Response = 1
Responder sends its ephemeral key and signature.
Confirm = 2
Final transcript confirmation MAC.
Implementations§
Trait Implementations§
Source§impl Clone for HandshakeFrameType
impl Clone for HandshakeFrameType
Source§fn clone(&self) -> HandshakeFrameType
fn clone(&self) -> HandshakeFrameType
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 moreSource§impl Debug for HandshakeFrameType
impl Debug for HandshakeFrameType
Source§impl PartialEq for HandshakeFrameType
impl PartialEq for HandshakeFrameType
Source§fn eq(&self, other: &HandshakeFrameType) -> bool
fn eq(&self, other: &HandshakeFrameType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HandshakeFrameType
impl Eq for HandshakeFrameType
impl StructuralPartialEq for HandshakeFrameType
Auto Trait Implementations§
impl Freeze for HandshakeFrameType
impl RefUnwindSafe for HandshakeFrameType
impl Send for HandshakeFrameType
impl Sync for HandshakeFrameType
impl Unpin for HandshakeFrameType
impl UnsafeUnpin for HandshakeFrameType
impl UnwindSafe for HandshakeFrameType
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