pub struct SourcedMetric<T, S> { /* private fields */ }
Expand description
A metric whose values are obtained from an existing source, instead of being independently recorded.
Implementations§
source§impl<T: SourcedType, S: MetricSource> SourcedMetric<T, S>
impl<T: SourcedType, S: MetricSource> SourcedMetric<T, S>
Trait Implementations§
source§impl<T: Clone, S: Clone> Clone for SourcedMetric<T, S>
impl<T: Clone, S: Clone> Clone for SourcedMetric<T, S>
source§fn clone(&self) -> SourcedMetric<T, S>
fn clone(&self) -> SourcedMetric<T, S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more