pub trait Layer<H> {
type Handler;
// Required method
fn layer(&self, inner: H) -> Self::Handler;
}Expand description
A function from one handler to another. Apply with HandlerExt::with.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".