pub enum TcpOption {
Eol(u8),
Nop,
Mss,
Ws,
Sok,
Sack,
TS,
Unknown(u8),
}
Variants§
Eol(u8)
eol+n - explicit end of options, followed by n bytes of padding
Nop
nop - no-op option
Mss
mss - maximum segment size
Ws
ws - window scaling
Sok
sok - selective ACK permitted
Sack
sack - selective ACK (should not be seen)
TS
ts - timestamp
Unknown(u8)
?n - unknown option ID n
Trait Implementations§
impl StructuralPartialEq for TcpOption
Auto Trait Implementations§
impl Freeze for TcpOption
impl RefUnwindSafe for TcpOption
impl Send for TcpOption
impl Sync for TcpOption
impl Unpin for TcpOption
impl UnwindSafe for TcpOption
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