pub enum TcpState {
Closed,
Listen,
SynSent,
SynReceived,
Established,
FinWait1,
FinWait2,
CloseWait,
Closing,
LastAck,
TimeWait,
DeleteTcb,
}
Expand description
State of TCP connection.
Variants§
Closed
Listen
SynSent
SynReceived
Established
FinWait1
FinWait2
CloseWait
Closing
LastAck
TimeWait
DeleteTcb
Trait Implementations§
impl Copy for TcpState
impl Eq for TcpState
impl StructuralPartialEq for TcpState
Auto Trait Implementations§
impl Freeze for TcpState
impl RefUnwindSafe for TcpState
impl Send for TcpState
impl Sync for TcpState
impl Unpin for TcpState
impl UnwindSafe for TcpState
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