pub struct LoggerMiddleware;Trait Implementations§
Source§impl Middleware for LoggerMiddleware
impl Middleware for LoggerMiddleware
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 mut RequestBody,
res: &'life2 mut ResponseWriter,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for LoggerMiddleware
impl RefUnwindSafe for LoggerMiddleware
impl Send for LoggerMiddleware
impl Sync for LoggerMiddleware
impl Unpin for LoggerMiddleware
impl UnwindSafe for LoggerMiddleware
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