[][src]Trait metered::metric::Gauge

pub trait Gauge: Default + Clear + Serialize {
    fn incr(&self);
fn decr(&self); }

A trait for Gauges

Required methods

fn incr(&self)

Increment the counter

fn decr(&self)

Decrement the counter

Loading content...

Implementations on Foreign Types

impl Gauge for Cell<u8>[src]

impl Gauge for Cell<u16>[src]

impl Gauge for Cell<u32>[src]

impl Gauge for Cell<u64>[src]

impl Gauge for Cell<u128>[src]

Loading content...

Implementors

impl Gauge for AtomicInt<u128>[src]

impl Gauge for AtomicInt<u16>[src]

impl Gauge for AtomicInt<u32>[src]

impl Gauge for AtomicInt<u64>[src]

impl Gauge for AtomicInt<u8>[src]

Loading content...