pub enum HandshakeState {
None,
InitSent,
InitReceived,
Established,
}Expand description
Handshake state machine
Variants§
None
No handshake in progress
InitSent
Initiation sent, waiting for response
InitReceived
Initiation received (responder)
Established
Handshake complete, session established
Trait Implementations§
Source§impl Clone for HandshakeState
impl Clone for HandshakeState
Source§fn clone(&self) -> HandshakeState
fn clone(&self) -> HandshakeState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandshakeState
impl Debug for HandshakeState
Source§impl PartialEq for HandshakeState
impl PartialEq for HandshakeState
impl Copy for HandshakeState
impl Eq for HandshakeState
impl StructuralPartialEq for HandshakeState
Auto Trait Implementations§
impl Freeze for HandshakeState
impl RefUnwindSafe for HandshakeState
impl Send for HandshakeState
impl Sync for HandshakeState
impl Unpin for HandshakeState
impl UnwindSafe for HandshakeState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)