Crate metrics_utils_macros

Source

Attribute Macrosยง

measured_async_function
A procedural macro attribute that measures the execution time of an async function.
measured_function
Same as measured_async_function but for sync functions