Struct salvo_extra::size_limiter::MaxSizeHandler [−][src]
pub struct MaxSizeHandler(_);
Trait Implementations
impl Handler for MaxSizeHandler
[src]
impl Handler for MaxSizeHandler
[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 MaxSizeHandler
impl RefUnwindSafe for MaxSizeHandler
impl Send for MaxSizeHandler
impl Send for MaxSizeHandler
impl Sync for MaxSizeHandler
impl Sync for MaxSizeHandler
impl Unpin for MaxSizeHandler
impl Unpin for MaxSizeHandler
impl UnwindSafe for MaxSizeHandler
impl UnwindSafe for MaxSizeHandler
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>,