Macro relay_metrics::dist
source · macro_rules! dist { ($($x:expr),*$(,)*) => { ... }; }
Expand description
Creates a DistributionValue
containing the given arguments.
dist!
allows DistributionValue
to be defined with the same syntax as array expressions.
§Example
let dist = relay_metrics::dist![1, 2];