pub struct Inspector { /* private fields */ }Expand description
An inspector for output lines.
For proper cleanup, call abort() which gracefully waits for the collecting task to complete.
It should terminate fast, as an internal termination signal is send to it.
If dropped without calling abort(), the termination will be sent as well,
but the task will be aborted (forceful, not waiting for completion).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inspector
impl !RefUnwindSafe for Inspector
impl Send for Inspector
impl Sync for Inspector
impl Unpin for Inspector
impl !UnwindSafe for Inspector
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