pub struct CombinedCount {
pub packets: u64,
pub bytes: u64,
}Expand description
Combined count of packets and bytes
Fields§
§packets: u64The number of packets
bytes: u64The number of bytes
Trait Implementations§
Source§impl Clone for CombinedCount
impl Clone for CombinedCount
Source§fn clone(&self) -> CombinedCount
fn clone(&self) -> CombinedCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CombinedCount
impl Debug for CombinedCount
Source§impl PartialEq for CombinedCount
impl PartialEq for CombinedCount
impl Copy for CombinedCount
impl Eq for CombinedCount
impl StructuralPartialEq for CombinedCount
Auto Trait Implementations§
impl Freeze for CombinedCount
impl RefUnwindSafe for CombinedCount
impl Send for CombinedCount
impl Sync for CombinedCount
impl Unpin for CombinedCount
impl UnsafeUnpin for CombinedCount
impl UnwindSafe for CombinedCount
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