pub struct TxTimestamp {
pub id: u32,
pub timestamp: Timestamp,
}Expand description
The timestamp of a transmitted packet, reported by [Device::poll_tx_timestamp].
Fields§
§id: u32The [PacketMeta::id] of the packet this timestamp belongs to.
timestamp: TimestampThe time at which the packet was transmitted, as measured by the device.
Trait Implementations§
Source§impl Clone for TxTimestamp
impl Clone for TxTimestamp
Source§fn clone(&self) -> TxTimestamp
fn clone(&self) -> TxTimestamp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TxTimestamp
Source§impl Debug for TxTimestamp
impl Debug for TxTimestamp
impl Eq for TxTimestamp
Source§impl Format for TxTimestamp
impl Format for TxTimestamp
Source§impl Hash for TxTimestamp
impl Hash for TxTimestamp
Source§impl PartialEq for TxTimestamp
impl PartialEq for TxTimestamp
impl StructuralPartialEq for TxTimestamp
Auto Trait Implementations§
impl Freeze for TxTimestamp
impl RefUnwindSafe for TxTimestamp
impl Send for TxTimestamp
impl Sync for TxTimestamp
impl Unpin for TxTimestamp
impl UnsafeUnpin for TxTimestamp
impl UnwindSafe for TxTimestamp
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