Crate metered_macro
source · [−]Expand description
Procedural macros for Metered, a metric library for Rust.
Please check the Metered crate for more documentation.
Attribute Macros
A procedural macro that generates a new metric that measures the amount
of times each variant of an error has been thrown, to be used as
crate-specific replacement for metered::ErrorCount
.
A procedural macro that generates a metric registry for an impl
block.