trait DefaultLayers {
// Required method
fn apply_default_layers(
self,
source: &'static str,
metrics: Metrics,
) -> Self;
}
Expand description
Default layers that should be applied to all routes, and should get applied to both the internal http and external http routers.
Required Methods§
fn apply_default_layers(self, source: &'static str, metrics: Metrics) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.