pub struct NasooneStats {
pub received: u32,
pub dropped: u32,
pub if_dropped: u32,
}Expand description
Represents the pcap statistics about a capture (from https://docs.rs/pcap/latest/pcap/index.html.)
Fields§
§received: u32Number of packets received
dropped: u32Number of packets dropped because there was no room in the operating system’s buffer when they arrived, because packets weren’t being read fast enough
if_dropped: u32Number of packets dropped by the network interface or its driver
Trait Implementations§
Source§impl Debug for NasooneStats
impl Debug for NasooneStats
Auto Trait Implementations§
impl Freeze for NasooneStats
impl RefUnwindSafe for NasooneStats
impl Send for NasooneStats
impl Sync for NasooneStats
impl Unpin for NasooneStats
impl UnwindSafe for NasooneStats
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