Struct smoltcp::wire::TcpSeqNumber
source · pub struct TcpSeqNumber(pub i32);
Expand description
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.
Tuple Fields§
§0: i32
Trait Implementations§
source§impl AddAssign<usize> for SeqNumber
impl AddAssign<usize> for SeqNumber
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moresource§impl PartialOrd<SeqNumber> for SeqNumber
impl PartialOrd<SeqNumber> for SeqNumber
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more