pub trait Counter:
Send
+ Sync
+ 'static {
// Required methods
fn inc(&self);
fn inc_by(&self, v: u64);
fn get(&self) -> u64;
}Expand description
Single counter handle (one specific label combination).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".