pub struct Counters {
pub accepted: u64,
pub rejected: u64,
pub malformed: u64,
}Expand description
Runtime counters.
Fields§
§accepted: u64Accepted packet count.
rejected: u64Policy-rejected packet count.
malformed: u64Codec-malformed packet count.
Trait Implementations§
impl Copy for Counters
impl Eq for Counters
impl StructuralPartialEq for Counters
Auto Trait Implementations§
impl Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
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