pub trait ProgressReporter: Send + Sync {
// Required method
fn report(&self, event: IndexProgress);
}Expand description
Trait for reporting progress during indexing operations.
Implementors can display progress bars, log events, or perform other actions in response to indexing progress.
§Thread Safety
Implementations must be Send + Sync to support parallel indexing.
Progress events may be reported from multiple threads concurrently.
Required Methods§
Sourcefn report(&self, event: IndexProgress)
fn report(&self, event: IndexProgress)
Report a progress event.
This method is called during indexing to report progress. Implementations should be non-blocking to avoid slowing down the indexing process.