pub struct ProfilerMiddleware { /* private fields */ }
Expand description
Middleware profiler that logs timing for each middleware in the pipeline
Implementations§
Trait Implementations§
Source§impl Debug for ProfilerMiddleware
impl Debug for ProfilerMiddleware
Source§impl Default for ProfilerMiddleware
impl Default for ProfilerMiddleware
Source§impl Middleware for ProfilerMiddleware
impl Middleware for ProfilerMiddleware
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 ProfilerMiddleware
impl RefUnwindSafe for ProfilerMiddleware
impl Send for ProfilerMiddleware
impl Sync for ProfilerMiddleware
impl Unpin for ProfilerMiddleware
impl UnwindSafe for ProfilerMiddleware
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