Struct smoltcp::wire::TcpSeqNumber [] [src]

pub struct TcpSeqNumber(pub i32);

A TCP sequence number.

A sequence number is a monotonically advancing integer modulo 232. Sequence numbers do not have a discontiguity when compared pairwise across a signed overflow.

Trait Implementations

impl Debug for SeqNumber
[src]

Formats the value using the given formatter.

impl PartialEq for SeqNumber
[src]

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

This method tests for !=.

impl Eq for SeqNumber
[src]

impl Clone for SeqNumber
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SeqNumber
[src]

impl Display for SeqNumber
[src]

Formats the value using the given formatter.

impl Add<usize> for SeqNumber
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<usize> for SeqNumber
[src]

The resulting type after applying the - operator

The method for the - operator

impl AddAssign<usize> for SeqNumber
[src]

The method for the += operator

impl Sub for SeqNumber
[src]

The resulting type after applying the - operator

The method for the - operator

impl PartialOrd for SeqNumber
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more