Struct metrix::instruments::Meter
[−]
[src]
pub struct Meter { /* fields omitted */ }
For measuring rates, e.g. request/s
Methods
impl Meter
[src]
fn new_with_defaults<T: Into<String>>(name: T) -> Meter
[src]
fn name(&self) -> &str
[src]
fn set_name<T: Into<String>>(&mut self, name: T)
[src]
fn set_title<T: Into<String>>(&mut self, title: T)
[src]
fn set_description<T: Into<String>>(&mut self, description: T)
[src]
Trait Implementations
impl PutsSnapshot for Meter
[src]
fn put_snapshot(&self, into: &mut Snapshot, descriptive: bool)
[src]
Puts the current snapshot values into the given Snapshot
thereby following the guidelines of PutsSnapshot
. Read more
impl Updates for Meter
[src]
fn update(&mut self, with: &Update)
[src]
Update the internal state according to the given Update
. Read more