pub struct FaceCounters {
pub in_interests: AtomicU64,
pub in_data: AtomicU64,
pub out_interests: AtomicU64,
pub out_data: AtomicU64,
pub in_bytes: AtomicU64,
pub out_bytes: AtomicU64,
}Expand description
Per-face packet and byte counters. All fields are AtomicU64, updated by
the pipeline without holding any lock.
Fields§
§in_interests: AtomicU64§in_data: AtomicU64§out_interests: AtomicU64§out_data: AtomicU64§in_bytes: AtomicU64§out_bytes: AtomicU64Trait Implementations§
Source§impl Default for FaceCounters
impl Default for FaceCounters
Source§fn default() -> FaceCounters
fn default() -> FaceCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FaceCounters
impl RefUnwindSafe for FaceCounters
impl Send for FaceCounters
impl Sync for FaceCounters
impl Unpin for FaceCounters
impl UnwindSafe for FaceCounters
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