Struct dipstick::AggregateSink [] [src]

pub struct AggregateSink(_);

A sink where to send metrics for aggregation. The parameters of aggregation may be set upon creation. Just clone() to use as a shared aggregator.

Trait Implementations

impl Debug for AggregateSink
[src]

[src]

Formats the value using the given formatter.

impl Clone for AggregateSink
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Sink<Aggregate> for AggregateSink
[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