Crate metered_macro[][src]

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.