Struct metrix::instruments::Meter[][src]

pub struct Meter { /* fields omitted */ }

For measuring rates, e.g. request/s

This meter count occurences. An occurrence with values is counted as 1 occurence.

To get rates on values use instruments::other_instruments::ValeMeter

Methods

impl Meter
[src]

Trait Implementations

impl Instrument for Meter
[src]

impl PutsSnapshot for Meter
[src]

Puts the current snapshot values into the given Snapshot thereby following the guidelines of PutsSnapshot. Read more

impl Updates for Meter
[src]

Update the internal state according to the given Update. Read more

impl Descriptive for Meter
[src]

Auto Trait Implementations

impl Send for Meter

impl !Sync for Meter