Type Alias measured::CounterRef

source ·
pub type CounterRef<'a> = MetricRef<'a, CounterState>;

Aliased Type§

struct CounterRef<'a>(/* private fields */);

Implementations§

source§

impl CounterRef<'_>

source

pub fn inc(self)

source

pub fn inc_by(self, x: u64)