Enum etherparse::TcpOptionElement[][src]

pub enum TcpOptionElement {
    Nop,
    MaximumSegmentSize(u16),
    WindowScale(u8),
    SelectiveAcknowledgementPermitted,
    SelectiveAcknowledgement((u32, u32)[Option<(u32, u32)>; 3]),
    Timestamp(u32u32),
}

Different kinds of options that can be present in the options part of a tcp header.

Variants

Timestamp & echo (first number is the sender timestamp, the second the echo timestamp)

Trait Implementations

impl Clone for TcpOptionElement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TcpOptionElement
[src]

Formats the value using the given formatter. Read more

impl Eq for TcpOptionElement
[src]

impl PartialEq for TcpOptionElement
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations