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