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ยง

error_count
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.
metered
A procedural macro that generates a metric registry for an impl block.