Struct counter64::Counter [] [src]

pub struct Counter(_);

Methods

impl Counter
[src]

[src]

Create new counter from 0

[src]

Get counter's current value

[src]

Increase counter by 1, and return previous value

Trait Implementations

impl Debug for Counter
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Counter

impl Sync for Counter