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