[−][src]Trait metrix::instruments::Updates
Implementors of Updates
can handle Update
s.
Update
s are basically observations without a label.
Required methods
fn update(&mut self, with: &Update) -> usize
Update the internal state according to the given Update
.
Not all Update
s might modify the internal state.
Only those that are appropriate and meaningful for
the implementor.
Returns the number of instruments updated
Implementors
impl Updates for LastOccurrenceTracker
[src]
impl Updates for ValueMeter
[src]
impl Updates for Counter
[src]
impl Updates for Gauge
[src]
impl Updates for Histogram
[src]
impl Updates for Meter
[src]
impl Updates for Flag
[src]
impl Updates for NonOccurrenceIndicator
[src]
impl Updates for OccurrenceIndicator
[src]
impl Updates for StaircaseTimer
[src]
impl<L> Updates for GaugeAdapter<L> where
L: Eq + Send + 'static,
[src]
L: Eq + Send + 'static,
impl<L, I> Updates for InstrumentAdapter<L, I> where
L: Clone + Eq + Send + 'static,
I: Instrument,
[src]
L: Clone + Eq + Send + 'static,
I: Instrument,