pub trait Layer<R> { type Output; // Required method fn layer(&self, inner: R) -> Self::Output; }
Decorates an object by wrapping it within another type.
The output type after wrapping.
Wraps inner based on this layer.
inner