Docs.rs
prometheus-client-0.18.1
prometheus-client 0.18.1
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
parking_lot ^0.12
normal
prometheus-client-derive-text-encode ^0.3.0
normal
actix-web ^4
dev
async-std ^1
dev
criterion ^0.3
dev
http-types ^2
dev
pyo3 ^0.16
dev
quickcheck ^1
dev
rand ^0.8.4
dev
tide ^0.16
dev
Versions
50%
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Atomic
Required Methods
get
inc
inc_by
Implementations on Foreign Types
AtomicU32
AtomicU64
AtomicU64
Implementors
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