pub struct TimeoutMiddleware { /* private fields */ }
Expand description
Timeout middleware
Implementations§
Trait Implementations§
Source§impl Debug for TimeoutMiddleware
impl Debug for TimeoutMiddleware
Source§impl Middleware for TimeoutMiddleware
impl Middleware for TimeoutMiddleware
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 TimeoutMiddleware
impl RefUnwindSafe for TimeoutMiddleware
impl Send for TimeoutMiddleware
impl Sync for TimeoutMiddleware
impl Unpin for TimeoutMiddleware
impl UnwindSafe for TimeoutMiddleware
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