pub struct Statistics {
pub passed: u64,
pub dropped: u64,
}Expand description
What a capture took and what its ring had no room for.
Fields§
§passed: u64Frames that passed the filter, those dropped included.
dropped: u64Frames dropped because the ring, or for a stamped capture the socket’s queue, was full: the program fell behind.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
impl Copy for Statistics
Source§impl Debug for Statistics
impl Debug for Statistics
Source§impl Default for Statistics
impl Default for Statistics
impl Eq for Statistics
Source§impl PartialEq for Statistics
impl PartialEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnsafeUnpin for Statistics
impl UnwindSafe for Statistics
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