pub struct MockLoggerGuard { /* private fields */ }Expand description
RAII guard that sets a mock logger and clears it when dropped
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MockLoggerGuard
impl RefUnwindSafe for MockLoggerGuard
impl Send for MockLoggerGuard
impl Sync for MockLoggerGuard
impl Unpin for MockLoggerGuard
impl UnwindSafe for MockLoggerGuard
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