Trait mas_http::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>,

Object Safety§

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§