pub struct NoopProgress;Trait Implementations§
Source§impl ProgressReporter for NoopProgress
impl ProgressReporter for NoopProgress
fn update(&self, _: &str, _: Option<u64>, _: Option<u64>)
fn finish(&self, _: &str)
Source§fn pause(&self) -> Box<dyn PauseGuard + '_>
fn pause(&self) -> Box<dyn PauseGuard + '_>
Hide our own spinner/bars while a child process draws to the terminal.
Implementations should clear their lines until the returned guard is dropped.
The default is a no-op for reporters that don’t draw to a TTY.
Auto Trait Implementations§
impl Freeze for NoopProgress
impl RefUnwindSafe for NoopProgress
impl Send for NoopProgress
impl Sync for NoopProgress
impl Unpin for NoopProgress
impl UnsafeUnpin for NoopProgress
impl UnwindSafe for NoopProgress
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