pub struct NoOpProgressReporter;Expand description
No-op progress reporter
Trait Implementations§
Source§impl Debug for NoOpProgressReporter
impl Debug for NoOpProgressReporter
Source§impl Default for NoOpProgressReporter
impl Default for NoOpProgressReporter
Source§fn default() -> NoOpProgressReporter
fn default() -> NoOpProgressReporter
Returns the “default value” for a type. Read more
Source§impl ProgressReporter for NoOpProgressReporter
impl ProgressReporter for NoOpProgressReporter
Source§fn report_progress(&self, _current: usize, _total: Option<usize>)
fn report_progress(&self, _current: usize, _total: Option<usize>)
Report progress with current file count and estimated total
Source§fn report_complete(&self, _result: &ScanResult)
fn report_complete(&self, _result: &ScanResult)
Report completion
Source§fn report_error(&self, _error: &Error)
fn report_error(&self, _error: &Error)
Report an error
Auto Trait Implementations§
impl Freeze for NoOpProgressReporter
impl RefUnwindSafe for NoOpProgressReporter
impl Send for NoOpProgressReporter
impl Sync for NoOpProgressReporter
impl Unpin for NoOpProgressReporter
impl UnwindSafe for NoOpProgressReporter
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more