[][src]Trait open_metrics_client::counter::Atomic

pub trait Atomic {
    type Number;
    pub fn new() -> Self;
pub fn inc(&self) -> Self::Number;
pub fn get(&self) -> Self::Number; }

Associated Types

Loading content...

Required methods

pub fn new() -> Self[src]

pub fn inc(&self) -> Self::Number[src]

pub fn get(&self) -> Self::Number[src]

Loading content...

Implementations on Foreign Types

impl Atomic for AtomicU64[src]

type Number = u64

impl Atomic for AtomicU32[src]

type Number = u32

Loading content...

Implementors

Loading content...