pub trait ParallelProgressIteratorwhere
Self: Sized + ParallelIterator,{
// Required method
fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self> ⓘ;
// Provided methods
fn progress_count(self, len: u64) -> ProgressBarIter<Self> ⓘ { ... }
fn progress(self) -> ProgressBarIter<Self> ⓘ
where Self: IndexedParallelIterator { ... }
fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self> ⓘ
where Self: IndexedParallelIterator { ... }
}
Expand description
Wraps a Rayon parallel iterator.
See ProgressIterator
for method
documentation.
Required Methods§
Sourcefn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self> ⓘ
fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self> ⓘ
Wrap an iterator with a custom progress bar.
Provided Methods§
Sourcefn progress_count(self, len: u64) -> ProgressBarIter<Self> ⓘ
fn progress_count(self, len: u64) -> ProgressBarIter<Self> ⓘ
Wrap an iterator with an explicit element count.
fn progress(self) -> ProgressBarIter<Self> ⓘwhere
Self: IndexedParallelIterator,
Sourcefn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self> ⓘwhere
Self: IndexedParallelIterator,
fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self> ⓘwhere
Self: IndexedParallelIterator,
Wrap an iterator with a progress bar and style it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.