pub struct PacketMeta {
pub traffic_class: Option<u8>,
pub dscp: Option<u8>,
pub ecn: Option<u8>,
pub kernel_rx_timestamp: Option<SystemTime>,
}Expand description
Receive-side packet metadata observed outside the IRTT wire protocol.
None means the metadata was unavailable. Some(0) means the metadata was
observed and its value was zero.
Fields§
§traffic_class: Option<u8>§dscp: Option<u8>§ecn: Option<u8>§kernel_rx_timestamp: Option<SystemTime>Kernel software receive timestamp reported with the datagram, where the platform provides one.
This is the raw observed value, reported whether or not it was accepted as the downstream one-way delay endpoint. It is a kernel software timestamp, not a NIC hardware ingress time.
Trait Implementations§
Source§impl Clone for PacketMeta
impl Clone for PacketMeta
impl Copy for PacketMeta
Source§impl Debug for PacketMeta
impl Debug for PacketMeta
Source§impl Default for PacketMeta
impl Default for PacketMeta
impl Eq for PacketMeta
Source§impl PartialEq for PacketMeta
impl PartialEq for PacketMeta
impl StructuralPartialEq for PacketMeta
Auto Trait Implementations§
impl Freeze for PacketMeta
impl RefUnwindSafe for PacketMeta
impl Send for PacketMeta
impl Sync for PacketMeta
impl Unpin for PacketMeta
impl UnsafeUnpin for PacketMeta
impl UnwindSafe for PacketMeta
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