Trait mz_environmentd::http::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

Object Safety§

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§