Enum etherparse::TcpOptionElement [−][src]
pub enum TcpOptionElement {
Nop,
MaximumSegmentSize(u16),
WindowScale(u8),
SelectiveAcknowledgementPermitted,
SelectiveAcknowledgement((u32, u32), [Option<(u32, u32)>; 3]),
Timestamp(u32, u32),
}Different kinds of options that can be present in the options part of a tcp header.
Variants
NopMaximumSegmentSize(u16)WindowScale(u8)SelectiveAcknowledgementPermittedSelectiveAcknowledgement((u32, u32), [Option<(u32, u32)>; 3])Timestamp(u32, u32)Timestamp & echo (first number is the sender timestamp, the second the echo timestamp)
Trait Implementations
impl Clone for TcpOptionElement[src]
impl Clone for TcpOptionElementfn clone(&self) -> TcpOptionElement[src]
fn clone(&self) -> TcpOptionElementReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for TcpOptionElement[src]
impl Debug for TcpOptionElementfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for TcpOptionElement[src]
impl Eq for TcpOptionElementimpl PartialEq for TcpOptionElement[src]
impl PartialEq for TcpOptionElementfn eq(&self, other: &TcpOptionElement) -> bool[src]
fn eq(&self, other: &TcpOptionElement) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TcpOptionElement) -> bool[src]
fn ne(&self, other: &TcpOptionElement) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for TcpOptionElement
impl Send for TcpOptionElementimpl Sync for TcpOptionElement
impl Sync for TcpOptionElement