pub(crate) struct StderrIndexProgress {
pub(crate) enabled: bool,
pub(crate) bar: Option<ProgressBar>,
}Fields§
§enabled: bool§bar: Option<ProgressBar>Implementations§
Trait Implementations§
Source§impl IndexProgressSink for StderrIndexProgress
impl IndexProgressSink for StderrIndexProgress
Source§fn begin_source(&mut self, path: &Path)
fn begin_source(&mut self, path: &Path)
Called before one reachable source starts cache lookup or indexing work.
Source§fn progress(&mut self, path: &Path, current: usize, total: usize)
fn progress(&mut self, path: &Path, current: usize, total: usize)
Called with backend-reported progress for one in-flight source index build.
Source§fn cache_hit(&mut self, path: &Path)
fn cache_hit(&mut self, path: &Path)
Called when existing persistent cache is reused for one source.
Source§fn finish_source(&mut self, path: &Path)
fn finish_source(&mut self, path: &Path)
Called after one reachable source has produced media and executor state.
Auto Trait Implementations§
impl Freeze for StderrIndexProgress
impl RefUnwindSafe for StderrIndexProgress
impl Send for StderrIndexProgress
impl Sync for StderrIndexProgress
impl Unpin for StderrIndexProgress
impl UnwindSafe for StderrIndexProgress
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