pub struct Stats {
pub rx_bytes: u64,
pub tx_bytes: u64,
pub rx_pkts: u64,
pub tx_pkts: u64,
}Fields§
§rx_bytes: u64§tx_bytes: u64§rx_pkts: u64§tx_pkts: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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