pub struct EngineStats {
pub tx_packets: u64,
pub rx_packets: u64,
pub tx_drops: u64,
pub rx_drops: u64,
pub tx_pps: u64,
pub rx_pps: u64,
}Expand description
Runtime statistics from a packet engine.
Fields§
§tx_packets: u64Total packets transmitted.
rx_packets: u64Total packets received (after filter).
tx_drops: u64TX packets dropped (ring full, rate limit, etc.).
rx_drops: u64RX packets dropped (buffer full, invalid checksum, etc.).
tx_pps: u64Current TX rate in packets per second.
rx_pps: u64Current RX rate in packets per second.
Trait Implementations§
Source§impl Clone for EngineStats
impl Clone for EngineStats
Source§impl Debug for EngineStats
impl Debug for EngineStats
Auto Trait Implementations§
impl Freeze for EngineStats
impl RefUnwindSafe for EngineStats
impl Send for EngineStats
impl Sync for EngineStats
impl Unpin for EngineStats
impl UnsafeUnpin for EngineStats
impl UnwindSafe for EngineStats
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