Struct metrics_util::layers::PrefixLayer [−][src]
pub struct PrefixLayer(_);
Expand description
A layer for applying a prefix to every metric key.
More information on the behavior of the layer can be found in Prefix
.
Implementations
Creates a new PrefixLayer
based on the given prefix.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrefixLayer
impl Send for PrefixLayer
impl Sync for PrefixLayer
impl Unpin for PrefixLayer
impl UnwindSafe for PrefixLayer