pub struct NoopProgress;Expand description
No-op implementation of ProgressCallback that does nothing.
Use this when you don’t need progress reporting but the API requires a callback implementation.
Trait Implementations§
Source§impl Debug for NoopProgress
impl Debug for NoopProgress
Source§impl Default for NoopProgress
impl Default for NoopProgress
Source§fn default() -> NoopProgress
fn default() -> NoopProgress
Returns the “default value” for a type. Read more
Source§impl ProgressCallback for NoopProgress
impl ProgressCallback for NoopProgress
Source§fn on_entry_start(&mut self, _path: &Path, _total: usize, _current: usize)
fn on_entry_start(&mut self, _path: &Path, _total: usize, _current: usize)
Called when starting to process an entry. Read more
Source§fn on_bytes_written(&mut self, _bytes: u64)
fn on_bytes_written(&mut self, _bytes: u64)
Called when bytes are written during extraction or read during creation. Read more
Source§fn on_entry_complete(&mut self, _path: &Path)
fn on_entry_complete(&mut self, _path: &Path)
Called when an entry has been completely processed. Read more
Source§fn on_complete(&mut self)
fn on_complete(&mut self)
Called when the entire operation is complete.
Auto Trait Implementations§
impl Freeze for NoopProgress
impl RefUnwindSafe for NoopProgress
impl Send for NoopProgress
impl Sync for NoopProgress
impl Unpin 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