pub struct LoggedExecutor<'a, E: Executor> {
pub inner: &'a mut E,
}Expand description
A transparent middleware executor that intercepts queries and parameters.
Under the log feature flag, this emits tracing debug logs containing executed SQL,
elapsed execution time, and parameter payload metrics.
Fields§
§inner: &'a mut EImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, E> Freeze for LoggedExecutor<'a, E>
impl<'a, E> RefUnwindSafe for LoggedExecutor<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for LoggedExecutor<'a, E>where
E: Send,
impl<'a, E> Sync for LoggedExecutor<'a, E>where
E: Sync,
impl<'a, E> Unpin for LoggedExecutor<'a, E>
impl<'a, E> UnsafeUnpin for LoggedExecutor<'a, E>
impl<'a, E> !UnwindSafe for LoggedExecutor<'a, E>
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