pub enum HandshakePhase {
Opened,
Challenged,
Accepted,
Closed,
}Expand description
Phase of the four-step handshake (RFC §8.1).
Variants§
Opened
session.open received; waiting for credential validation outcome.
Challenged
session.challenge sent; awaiting session.authenticate.
Accepted
session.accepted sent; protocol traffic permitted.
Closed
Terminal: rejected or evicted.
Trait Implementations§
Source§impl Clone for HandshakePhase
impl Clone for HandshakePhase
Source§fn clone(&self) -> HandshakePhase
fn clone(&self) -> HandshakePhase
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 HandshakePhase
impl Debug for HandshakePhase
Source§impl Hash for HandshakePhase
impl Hash for HandshakePhase
Source§impl PartialEq for HandshakePhase
impl PartialEq for HandshakePhase
Source§fn eq(&self, other: &HandshakePhase) -> bool
fn eq(&self, other: &HandshakePhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HandshakePhase
impl Eq for HandshakePhase
impl StructuralPartialEq for HandshakePhase
Auto Trait Implementations§
impl Freeze for HandshakePhase
impl RefUnwindSafe for HandshakePhase
impl Send for HandshakePhase
impl Sync for HandshakePhase
impl Unpin for HandshakePhase
impl UnsafeUnpin for HandshakePhase
impl UnwindSafe for HandshakePhase
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