Docs.rs
prometheus-client-0.15.0
prometheus-client 0.15.0
Docs.rs crate page
Apache-2.0
OR
MIT
Links
Homepage
Repository
crates.io
Source
Owners
mxinden
Dependencies
dtoa ^1.0
normal
itoa ^1.0
normal
owning_ref ^0.4
normal
prometheus-client-derive-text-encode ^0.2.0
normal
async-std ^1
dev
criterion ^0.3
dev
http-types ^2
dev
pyo3 ^0.15
dev
quickcheck ^1
dev
tide ^0.16
dev
Versions
42.16%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Trait Atomic
Required Methods
get
inc
inc_by
Implementations on Foreign Types
AtomicU32
AtomicU64
AtomicU64
Implementors
Other items in
prometheus_client
::
metrics
::
counter
?
Trait
prometheus_client
::
metrics
::
counter
::
Atomic
source
·
[
−
]
pub trait Atomic<N> { fn
inc
(&self) -> N;
fn
inc_by
(&self, v: N) -> N;
fn
get
(&self) -> N; }
Required methods
source
fn
inc
(&self) -> N
source
fn
inc_by
(&self, v: N) -> N
source
fn
get
(&self) -> N
Implementations on Foreign Types
source
impl
Atomic
<
u64
> for
AtomicU64
source
fn
inc
(&self) ->
u64
source
fn
inc_by
(&self, v:
u64
) ->
u64
source
fn
get
(&self) ->
u64
source
impl
Atomic
<
u32
> for
AtomicU32
source
fn
inc
(&self) ->
u32
source
fn
inc_by
(&self, v:
u32
) ->
u32
source
fn
get
(&self) ->
u32
source
impl
Atomic
<
f64
> for
AtomicU64
source
fn
inc
(&self) ->
f64
source
fn
inc_by
(&self, v:
f64
) ->
f64
source
fn
get
(&self) ->
f64
Implementors