Struct cyfs_debug::tide_log_middleware::LogMiddleware
source · [−]pub struct LogMiddleware { /* private fields */ }Expand description
Log all incoming requests and responses.
This middleware is enabled by default in Tide.
Examples
let mut app = tide::Server::new();
app.middleware(tide::log::LogMiddleware::new());Implementations
sourceimpl LogMiddleware
impl LogMiddleware
Trait Implementations
sourceimpl Clone for LogMiddleware
impl Clone for LogMiddleware
sourcefn clone(&self) -> LogMiddleware
fn clone(&self) -> LogMiddleware
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LogMiddleware
impl Debug for LogMiddleware
sourceimpl Default for LogMiddleware
impl Default for LogMiddleware
sourcefn default() -> LogMiddleware
fn default() -> LogMiddleware
Returns the “default value” for a type. Read more
sourceimpl<State: Send + Sync + Clone + 'static> Middleware<State> for LogMiddleware
impl<State: Send + Sync + Clone + 'static> Middleware<State> for LogMiddleware
Auto Trait Implementations
impl RefUnwindSafe for LogMiddleware
impl Send for LogMiddleware
impl Sync for LogMiddleware
impl Unpin for LogMiddleware
impl UnwindSafe for LogMiddleware
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more