Struct http4r_core::logging_handler::LoggingHttpHandler
source · [−]pub struct LoggingHttpHandler<H, C, L> where
H: Handler,
C: Clock,
L: Logger, {
pub log: Vec<String>,
pub next_handler: H,
pub clock: C,
pub logger: L,
}Fields
log: Vec<String>next_handler: Hclock: Clogger: LImplementations
sourceimpl<H, C, L> LoggingHttpHandler<H, C, L> where
H: Handler,
C: Clock,
L: Logger,
impl<H, C, L> LoggingHttpHandler<H, C, L> where
H: Handler,
C: Clock,
L: Logger,
pub fn new(logger: L, clock: C, next: H) -> LoggingHttpHandler<H, C, L>
Trait Implementations
Auto Trait Implementations
impl<H, C, L> RefUnwindSafe for LoggingHttpHandler<H, C, L> where
C: RefUnwindSafe,
H: RefUnwindSafe,
L: RefUnwindSafe,
impl<H, C, L> Send for LoggingHttpHandler<H, C, L> where
C: Send,
H: Send,
L: Send,
impl<H, C, L> Sync for LoggingHttpHandler<H, C, L> where
C: Sync,
H: Sync,
L: Sync,
impl<H, C, L> Unpin for LoggingHttpHandler<H, C, L> where
C: Unpin,
H: Unpin,
L: Unpin,
impl<H, C, L> UnwindSafe for LoggingHttpHandler<H, C, L> where
C: UnwindSafe,
H: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more