pub struct TracingCapture { /* private fields */ }
Expand description
Captures logs into a Vec<String>
.
You can use this in tests to verify that the code hits a particular code path.
Implementations§
Auto Trait Implementations§
impl Freeze for TracingCapture
impl !RefUnwindSafe for TracingCapture
impl Send for TracingCapture
impl Sync for TracingCapture
impl Unpin for TracingCapture
impl !UnwindSafe for TracingCapture
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