pub struct Logger { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Middleware for Logger
impl Middleware for Logger
fn name(&self) -> &str
fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
m_ctx: &'life1 mut MiddlewareContext<'life2>,
next: &'life3 mut dyn NextMiddleware,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for Logger
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl UnsafeUnpin for Logger
impl !UnwindSafe for Logger
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