Struct PktStatisticInfo
#[repr(C)]pub struct PktStatisticInfo {
pub packets_tx: u32,
pub packets_rx: u32,
pub bytes_tx: u64,
pub bytes_rx: u64,
pub packets_dropped_tx: u32,
pub packets_dropped_rx: u32,
}Fields§
§packets_tx: u32Number of packets transmitted.
packets_rx: u32Number of packets received.
bytes_tx: u64Number of bytes transmitted.
bytes_rx: u64Number of bytes received.
packets_dropped_tx: u32Number of transmit packets dropped.
packets_dropped_rx: u32Number of receive packets dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PktStatisticInfo
impl RefUnwindSafe for PktStatisticInfo
impl Send for PktStatisticInfo
impl Sync for PktStatisticInfo
impl Unpin for PktStatisticInfo
impl UnwindSafe for PktStatisticInfo
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