Enum smoltcp::wire::TcpOption [] [src]

pub enum TcpOption<'a> {
    EndOfList,
    NoOperation,
    MaxSegmentSize(u16),
    WindowScale(u8),
    Unknown {
        kind: u8,
        data: &'a [u8],
    },
}

A representation of a single TCP option.

Variants

Fields of Unknown

Methods

impl<'a> TcpOption<'a>
[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Debug for TcpOption<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for TcpOption<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Eq for TcpOption<'a>
[src]

impl<'a> Clone for TcpOption<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for TcpOption<'a>
[src]