Struct tacho::Reporter
[−]
[src]
pub struct Reporter { /* fields omitted */ }
Methods
impl Reporter
[src]
fn peek(&self) -> ReportPeek
Obtains a read-only view of a metrics report without clearing the underlying state.
fn take(&mut self) -> ReportTake
Obtains a Report and clears the underlying gauges and stats.
Counters are copied and not cleared because counters are absolute and increasing.
Trait Implementations
impl Clone for Reporter
[src]
fn clone(&self) -> Reporter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more