pub struct NoProgress;Expand description
Zero-overhead progress sink for callers that do not need updates.
Trait Implementations§
Source§impl Clone for NoProgress
impl Clone for NoProgress
Source§fn clone(&self) -> NoProgress
fn clone(&self) -> NoProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoProgress
impl Debug for NoProgress
Source§impl Default for NoProgress
impl Default for NoProgress
Source§fn default() -> NoProgress
fn default() -> NoProgress
Returns the “default value” for a type. Read more
Source§impl ProgressSink for NoProgress
impl ProgressSink for NoProgress
Source§fn on_progress(&self, _progress: HashProgress)
fn on_progress(&self, _progress: HashProgress)
Receives a monotonic progress snapshot.
impl Copy for NoProgress
Auto Trait Implementations§
impl Freeze for NoProgress
impl RefUnwindSafe for NoProgress
impl Send for NoProgress
impl Sync for NoProgress
impl Unpin for NoProgress
impl UnwindSafe for NoProgress
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