Struct cadence::NopMetricSink [−][src]
pub struct NopMetricSink;
Implementation of a MetricSink
that discards all metrics.
Useful for disabling metric collection or unit tests.
Trait Implementations
impl Debug for NopMetricSink
[src]
impl Debug for NopMetricSink
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NopMetricSink
[src]
impl Clone for NopMetricSink
fn clone(&self) -> NopMetricSink
[src]
fn clone(&self) -> NopMetricSink
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl MetricSink for NopMetricSink
[src]
impl MetricSink for NopMetricSink
Auto Trait Implementations
impl Send for NopMetricSink
impl Send for NopMetricSink
impl Sync for NopMetricSink
impl Sync for NopMetricSink