[][src]Module metered::metric

A module defining the Metric trait and common metric backends.

Structs

ExitGuard

Handles a metric's lifecycle, guarding against early returns and panics.

Enums

Advice

Re-export aspect-rs's types to avoid crates depending on it.

Traits

Counter

A trait for Counters

Enter

Re-export aspect-rs's types to avoid crates depending on it.

Gauge

A trait for Gauges

Histogram

A trait for Histograms

Metric

A trait to implement to be used in the measure! macro

OnResult

Re-export aspect-rs's types to avoid crates depending on it.