pub trait CounterExt {
// Required methods
fn guard(&self, status: Status) -> CounterGuard;
fn inc(&self, status: Status);
fn inc_by(&self, status: Status, n: u64);
}
Expand description
Trait providing convenience methods for Counter
.