[][src]Module metered::metric

A module defining the Metric trait and common metric backends.

Enums

Advice

Re-export aspect-rs's types to avoid crates depending on it. An Advice describes what the aspect should do on return

Traits

Counter

A trait for Counters

Enter

Re-export aspect-rs's types to avoid crates depending on it. The Enter trait is called when entering in an aspect, before the wrapped expression is called.

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. The OnResult trait is implemented on Aspects to get notified when an expression has returned.