pub trait Metric<R>: Default + OnResultMut<R> + Clear + Serialize { }
Expand description
A trait to implement to be used in the measure!
macro
Metrics wrap expressions to measure them.
The return type, R, of the expression can be captured to perform special handling.