#[repr(C)]pub struct NetStats {
pub rx_packets: u64,
pub rx_bytes: u64,
pub rx_dropped: u64,
pub tx_packets: u64,
pub tx_bytes: u64,
pub tx_dropped: u64,
pub irqs: u64,
pub polls: u64,
}Expand description
Queue statistics.
Fields§
§rx_packets: u64§rx_bytes: u64§rx_dropped: u64§tx_packets: u64§tx_bytes: u64§tx_dropped: u64§irqs: u64§polls: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for NetStats
impl Freeze for NetStats
impl Move for NetStats
impl RefUnwindSafe for NetStats
impl Send for NetStats
impl Sync for NetStats
impl Unpin for NetStats
impl UnsafeUnpin for NetStats
impl UnwindSafe for NetStats
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