mas_http

Trait CorsLayerExt

Source
pub trait CorsLayerExt {
    // Required method
    fn allow_otel_headers<H>(self, headers: H) -> Self
       where H: IntoIterator<Item = HeaderName>;
}

Required Methods§

Source

fn allow_otel_headers<H>(self, headers: H) -> Self
where H: IntoIterator<Item = HeaderName>,

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 CorsLayerExt for CorsLayer

Source§

fn allow_otel_headers<H>(self, headers: H) -> Self
where H: IntoIterator<Item = HeaderName>,

Implementors§