pub enum ServerHandshakeState {
ReadC0C1,
ReadC2,
Finish,
}
Expand description
The state of the handshake.
This is used to determine what the next step is.
Variants§
ReadC0C1
Next step is to read C0 and C1.
ReadC2
Next step is to read C2.
Finish
Handshake is finished.
Trait Implementations§
Source§impl Clone for ServerHandshakeState
impl Clone for ServerHandshakeState
Source§fn clone(&self) -> ServerHandshakeState
fn clone(&self) -> ServerHandshakeState
Returns a copy 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 ServerHandshakeState
impl Debug for ServerHandshakeState
Source§impl PartialEq for ServerHandshakeState
impl PartialEq for ServerHandshakeState
impl Copy for ServerHandshakeState
impl Eq for ServerHandshakeState
impl StructuralPartialEq for ServerHandshakeState
Auto Trait Implementations§
impl Freeze for ServerHandshakeState
impl RefUnwindSafe for ServerHandshakeState
impl Send for ServerHandshakeState
impl Sync for ServerHandshakeState
impl Unpin for ServerHandshakeState
impl UnwindSafe for ServerHandshakeState
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