pub struct Stat {
pub received: u32,
pub dropped: u32,
pub if_dropped: u32,
}
Expand description
Packet statistics for a capture
Fields§
§received: u32
Number of packets received
dropped: u32
Number 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: u32
Number of packets dropped by the network interface or its driver
Trait Implementations§
source§impl PartialEq for Stat
impl PartialEq for Stat
impl Copy for Stat
impl Eq for Stat
impl StructuralEq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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