Type Definition dipstick::DoubleSink [] [src]

type DoubleSink<S1, S2> = (S1, S2);

Hold the two target sinks. Multiple DoubleSinks can be combined if more than two sinks are needed.

Trait Implementations

impl<M1, S1, M2, S2> Sink<DoubleKey<M1, M2>> for DoubleSink<S1, S2> where
    S1: Sink<M1>,
    S2: Sink<M2>,
    M1: 'static + Clone + Send + Sync,
    M2: '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