pub struct Silent;Expand description
Discards everything. Useful for tests and for callers that want silence.
Trait Implementations§
impl Copy for Silent
Source§impl Progress for Silent
impl Progress for Silent
Source§fn run_started(&mut self, _total: usize, _url: &str)
fn run_started(&mut self, _total: usize, _url: &str)
Called once, before any device is touched.
Source§fn device_started(&mut self, _index: usize, _total: usize, _device: &Device)
fn device_started(&mut self, _index: usize, _total: usize, _device: &Device)
Called before each device, with a 1-based index.
Source§fn device_finished(&mut self, _event: &DeviceEvent<'_>)
fn device_finished(&mut self, _event: &DeviceEvent<'_>)
Called after each device, successful or not.
Source§fn run_finished(&mut self, _summary: Summary, _elapsed: Duration)
fn run_finished(&mut self, _summary: Summary, _elapsed: Duration)
Called once, after every device.
Auto Trait Implementations§
impl Freeze for Silent
impl RefUnwindSafe for Silent
impl Send for Silent
impl Sync for Silent
impl Unpin for Silent
impl UnsafeUnpin for Silent
impl UnwindSafe for Silent
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