pub struct TcpSackBlock {
pub left: u32,
pub right: u32,
}Expand description
TCP SACK block (pair of sequence numbers).
Fields§
§left: u32Left edge of block
right: u32Right edge of block
Implementations§
Trait Implementations§
Source§impl Clone for TcpSackBlock
impl Clone for TcpSackBlock
Source§fn clone(&self) -> TcpSackBlock
fn clone(&self) -> TcpSackBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TcpSackBlock
impl Debug for TcpSackBlock
Source§impl PartialEq for TcpSackBlock
impl PartialEq for TcpSackBlock
impl Copy for TcpSackBlock
impl Eq for TcpSackBlock
impl StructuralPartialEq for TcpSackBlock
Auto Trait Implementations§
impl Freeze for TcpSackBlock
impl RefUnwindSafe for TcpSackBlock
impl Send for TcpSackBlock
impl Sync for TcpSackBlock
impl Unpin for TcpSackBlock
impl UnsafeUnpin for TcpSackBlock
impl UnwindSafe for TcpSackBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more