[][src]Trait metered::metric::Counter

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

A trait for Counters

Required methods

fn incr(&self)

Increment the counter

Loading content...

Implementations on Foreign Types

impl Counter for Cell<u8>[src]

impl Counter for Cell<u16>[src]

impl Counter for Cell<u32>[src]

impl Counter for Cell<u64>[src]

impl Counter for Cell<u128>[src]

Loading content...

Implementors

impl Counter for AtomicInt<u128>[src]

impl Counter for AtomicInt<u16>[src]

impl Counter for AtomicInt<u32>[src]

impl Counter for AtomicInt<u64>[src]

impl Counter for AtomicInt<u8>[src]

Loading content...