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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)