pub struct BodyLimitMiddleware { /* private fields */ }
Expand description
Body size limit middleware
Implementations§
Trait Implementations§
Source§impl Debug for BodyLimitMiddleware
impl Debug for BodyLimitMiddleware
Source§impl Middleware for BodyLimitMiddleware
impl Middleware for BodyLimitMiddleware
Source§fn handle(&self, request: ElifRequest, next: Next) -> NextFuture<'static>
fn handle(&self, request: ElifRequest, next: Next) -> NextFuture<'static>
Handle the request and call the next middleware in the chain
Auto Trait Implementations§
impl Freeze for BodyLimitMiddleware
impl RefUnwindSafe for BodyLimitMiddleware
impl Send for BodyLimitMiddleware
impl Sync for BodyLimitMiddleware
impl Unpin for BodyLimitMiddleware
impl UnwindSafe for BodyLimitMiddleware
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more