Trait metrics_util::layers::Layer[][src]

pub trait Layer<R> {
    type Output;
    fn layer(&self, inner: R) -> Self::Output;
}
Expand description

Decorates an object by wrapping it within another type.

Associated Types

The output type after wrapping.

Required methods

Wraps inner based on this layer.

Implementors