pub struct Timestamps {
pub system: TimeSpec,
pub hw_trans: TimeSpec,
pub hw_raw: TimeSpec,
}Available on crate features
socket and uio only.Expand description
For representing packet timestamps via SO_TIMESTAMPING interface
Fields§
§system: TimeSpecsoftware based timestamp, usually one containing data
hw_trans: TimeSpeclegacy timestamp, usually empty
hw_raw: TimeSpechardware based timestamp
Trait Implementations§
Source§impl Clone for Timestamps
impl Clone for Timestamps
impl Copy for Timestamps
Source§impl Debug for Timestamps
impl Debug for Timestamps
impl Eq for Timestamps
Source§impl PartialEq for Timestamps
impl PartialEq for Timestamps
impl StructuralPartialEq for Timestamps
Auto Trait Implementations§
impl Freeze for Timestamps
Available on Unix only.
impl RefUnwindSafe for Timestamps
Available on Unix only.
impl Send for Timestamps
Available on Unix only.
impl Sync for Timestamps
Available on Unix only.
impl Unpin for Timestamps
Available on Unix only.
impl UnsafeUnpin for Timestamps
Available on Unix only.
impl UnwindSafe for Timestamps
Available on Unix only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
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,
Available on Unix only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on Unix only.