Struct dipstick::SampleSink [] [src]

pub struct SampleSink<S> { /* fields omitted */ }

A sampling sink adapter.

Trait Implementations

impl<S: Debug> Debug for SampleSink<S>
[src]

[src]

Formats the value using the given formatter.

impl<M, S> Sink<Sample<M>> for SampleSink<S> where
    S: Sink<M>,
    M: 'static + Clone + Send + Sync
[src]

[src]

Define a new metric instrument of the requested kind, with the specified name and sample rate.

[src]

Returns a callback function to send scope commands. Writes can be performed by passing Some((&Metric, Value)) Flushes can be performed by passing None Read more