pub enum HandshakeStage {
Initial,
ClassicalReady,
Established,
Failed,
}Variants§
Initial
Initial state, no messages exchanged
ClassicalReady
Classical DH established, data can flow (Optimistic Start)
Established
Hybrid (PQC) established, session fully secure
Failed
Handshake failed
Trait Implementations§
Source§impl Clone for HandshakeStage
impl Clone for HandshakeStage
Source§fn clone(&self) -> HandshakeStage
fn clone(&self) -> HandshakeStage
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 moreimpl Copy for HandshakeStage
Source§impl Debug for HandshakeStage
impl Debug for HandshakeStage
impl Eq for HandshakeStage
Source§impl PartialEq for HandshakeStage
impl PartialEq for HandshakeStage
Source§fn eq(&self, other: &HandshakeStage) -> bool
fn eq(&self, other: &HandshakeStage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HandshakeStage
Auto Trait Implementations§
impl Freeze for HandshakeStage
impl RefUnwindSafe for HandshakeStage
impl Send for HandshakeStage
impl Sync for HandshakeStage
impl Unpin for HandshakeStage
impl UnsafeUnpin for HandshakeStage
impl UnwindSafe for HandshakeStage
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