Trait indicatif::ParallelProgressIterator
source · 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.
Object Safety§
This trait is not object safe.