pub enum TcpConnectionState {
Listen,
SynSent,
SynRcvd,
Established,
FinWait1,
FinWait2,
CloseWait,
Closing,
LastAck,
TimeWait,
Closed,
}Expand description
TCP connection states per RFC 793.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TcpConnectionState
impl Clone for TcpConnectionState
Source§fn clone(&self) -> TcpConnectionState
fn clone(&self) -> TcpConnectionState
Returns a duplicate 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 TcpConnectionState
impl Debug for TcpConnectionState
Source§impl Display for TcpConnectionState
impl Display for TcpConnectionState
Source§impl PartialEq for TcpConnectionState
impl PartialEq for TcpConnectionState
impl Copy for TcpConnectionState
impl Eq for TcpConnectionState
impl StructuralPartialEq for TcpConnectionState
Auto Trait Implementations§
impl Freeze for TcpConnectionState
impl RefUnwindSafe for TcpConnectionState
impl Send for TcpConnectionState
impl Sync for TcpConnectionState
impl Unpin for TcpConnectionState
impl UnsafeUnpin for TcpConnectionState
impl UnwindSafe for TcpConnectionState
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