pub enum TcpState {
Show 13 variants
Listen,
Established,
SynSent,
SynRecv,
FinWait1,
FinWait2,
TimeWait,
Close,
CloseWait,
LastAck,
Closing,
Unconn,
Unknown,
}Expand description
Kernel TCP state names (also used for UDP: Unconn is the UDP “listen”).
Variants§
Listen
Established
SynSent
SynRecv
FinWait1
FinWait2
TimeWait
Close
CloseWait
LastAck
Closing
Unconn
Unknown
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcpState
impl<'de> Deserialize<'de> for TcpState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 UnsafeUnpin 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