pub struct LogCaptureGuard(/* private fields */);
Available on crate feature
test-util
only.Expand description
A guard that resets log capturing upon being dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogCaptureGuard
impl !RefUnwindSafe for LogCaptureGuard
impl Send for LogCaptureGuard
impl Sync for LogCaptureGuard
impl Unpin for LogCaptureGuard
impl !UnwindSafe for LogCaptureGuard
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.