pub struct LogLayer;Expand description
Middleware that records each request into the global RequestLog.
Trait Implementations§
Source§impl Middleware for LogLayer
impl Middleware for LogLayer
fn handle( &self, request: &Request, connection: &ConnectionInfo, next: &dyn Application, ) -> Result<Response, String>
Auto Trait Implementations§
impl Freeze for LogLayer
impl RefUnwindSafe for LogLayer
impl Send for LogLayer
impl Sync for LogLayer
impl Unpin for LogLayer
impl UnsafeUnpin for LogLayer
impl UnwindSafe for LogLayer
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