enum HandshakeState {
Reading(ReadBuffer<READ_BUFFER_CHUNK_SIZE>, AttackCheck),
Writing(Cursor<Vec<u8>>),
}
Expand description
The handshake state.
Variants§
Reading(ReadBuffer<READ_BUFFER_CHUNK_SIZE>, AttackCheck)
Reading data from the peer.
Writing(Cursor<Vec<u8>>)
Sending data to the peer.
Trait Implementations§
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§
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