Type Definition dipstick::MetricFn
[−]
[src]
type MetricFn<M> = Box<Fn(Kind, &str, Rate) -> M + Send + Sync>;
Dynamic metric definition function.
Metrics can be defined from any thread, concurrently (Fn is Sync).
The resulting metrics themselves can be also be safely shared across threads (