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
Implementations§
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 for SeqNumber
impl PartialOrd for SeqNumber
impl Copy for SeqNumber
impl Eq for SeqNumber
impl StructuralPartialEq for SeqNumber
Auto Trait Implementations§
impl Freeze for SeqNumber
impl RefUnwindSafe for SeqNumber
impl Send for SeqNumber
impl Sync for SeqNumber
impl Unpin for SeqNumber
impl UnwindSafe for SeqNumber
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more