pub struct Capture { /* private fields */ }Expand description
Records logged by the calling thread, for as long as this value lives.
From capture. Neither Send nor Sync: the buffer is the thread’s,
and dropping this on another thread would stop that thread’s capture while
leaving this one’s running for the rest of the process.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Capture
impl !Sync for Capture
impl Freeze for Capture
impl RefUnwindSafe for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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