pub struct ProgressSink(/* private fields */);Expand description
UI-agnostic progress callback for ScanOptions. Invoked only from the
caller’s thread (the walk and the single writer), never from probe workers.
The Send + Sync bound is not required by today’s code; it is deliberate
future-proofing and free here (indicatif::ProgressBar is Send + Sync).
Implementations§
Source§impl ProgressSink
impl ProgressSink
Trait Implementations§
Source§impl Clone for ProgressSink
impl Clone for ProgressSink
Source§fn clone(&self) -> ProgressSink
fn clone(&self) -> ProgressSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProgressSink
impl !UnwindSafe for ProgressSink
impl Freeze for ProgressSink
impl Send for ProgressSink
impl Sync for ProgressSink
impl Unpin for ProgressSink
impl UnsafeUnpin for ProgressSink
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