pub fn with_client<F, R>(f: F) -> R
Expand description
Invoke a callback with the current statsd client.
If statsd is not configured the callback is not invoked. For the most part
the metric!
macro should be used instead.
pub fn with_client<F, R>(f: F) -> R
Invoke a callback with the current statsd client.
If statsd is not configured the callback is not invoked. For the most part
the metric!
macro should be used instead.