Struct salvo_extra::cors::CorsHandler [−][src]
pub struct CorsHandler { /* fields omitted */ }
Trait Implementations
impl Handler for CorsHandler
[src]
impl Handler for CorsHandler
[src]fn handle<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
req: &'life1 mut Request,
_depot: &'life2 mut Depot,
res: &'life3 mut Response
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
req: &'life1 mut Request,
_depot: &'life2 mut Depot,
res: &'life3 mut Response
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for CorsHandler
impl RefUnwindSafe for CorsHandler
impl Send for CorsHandler
impl Send for CorsHandler
impl Sync for CorsHandler
impl Sync for CorsHandler
impl Unpin for CorsHandler
impl Unpin for CorsHandler
impl UnwindSafe for CorsHandler
impl UnwindSafe for CorsHandler
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,