mz_environmentd::http

Trait DefaultLayers

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl DefaultLayers for Router

Source§

fn apply_default_layers(self, source: &'static str, metrics: Metrics) -> Self

Implementors§