pub enum TcpState {
Established,
SynSent,
SynRecv,
FinWait1,
FinWait2,
TimeWait,
Close,
CloseWait,
LastAck,
Listen,
Closing,
Unknown,
}
Variants§
Established
SynSent
SynRecv
FinWait1
FinWait2
TimeWait
Close
CloseWait
LastAck
Listen
Closing
Unknown
Trait Implementations§
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