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]

[src]

Formats the value using the given formatter.

impl PartialEq for SeqNumber
[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 Eq for SeqNumber
[src]

impl Clone for SeqNumber
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SeqNumber
[src]

impl Default for SeqNumber
[src]

[src]

Returns the "default value" for a type. Read more

impl Display for SeqNumber
[src]

[src]

Formats the value using the given formatter. Read more

impl Add<usize> for SeqNumber
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub<usize> for SeqNumber
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl AddAssign<usize> for SeqNumber
[src]

[src]

Performs the += operation.

impl Sub for SeqNumber
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl PartialOrd for SeqNumber
[src]

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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