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]

Formats the value using the given formatter.

impl Clone for NopMetricSink
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl MetricSink for NopMetricSink
[src]

Send the Statsd metric using this sink and return the number of bytes written or an I/O error. Read more