Trait Layer
metrics_util::layers
pub trait Layer<R> { type Output; pub fn layer(&self, inner: R) -> Self::Output; }
Decorates an object by wrapping it within another type.
type Output
The output type after wrapping.
pub fn layer(&self, inner: R) -> Self::Output
Wraps inner based on this layer.
inner
impl<R> Layer<R> for PrefixLayer
type Output = Prefix<R>