pub struct TcpTimestampRepr {
pub tsval: u32,
pub tsecr: u32,
}
Fields§
§tsval: u32
§tsecr: u32
Implementations§
Source§impl TcpTimestampRepr
impl TcpTimestampRepr
pub fn new(tsval: u32, tsecr: u32) -> Self
pub fn generate_reply( &self, generator: Option<TcpTimestampGenerator>, ) -> Option<Self>
pub fn generate_reply_with_tsval( generator: Option<TcpTimestampGenerator>, tsval: u32, ) -> Option<Self>
Trait Implementations§
Source§impl Clone for TcpTimestampRepr
impl Clone for TcpTimestampRepr
Source§fn clone(&self) -> TcpTimestampRepr
fn clone(&self) -> TcpTimestampRepr
Returns a copy 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 TcpTimestampRepr
impl Debug for TcpTimestampRepr
Source§impl PartialEq for TcpTimestampRepr
impl PartialEq for TcpTimestampRepr
impl Copy for TcpTimestampRepr
impl Eq for TcpTimestampRepr
impl StructuralPartialEq for TcpTimestampRepr
Auto Trait Implementations§
impl Freeze for TcpTimestampRepr
impl RefUnwindSafe for TcpTimestampRepr
impl Send for TcpTimestampRepr
impl Sync for TcpTimestampRepr
impl Unpin for TcpTimestampRepr
impl UnwindSafe for TcpTimestampRepr
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