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 { ... }
}
Available on crate feature rayon only.
Expand description

Wraps a Rayon parallel iterator.

See ProgressIterator for method documentation.

Required Methods§

source

fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self>

Wrap an iterator with a custom progress bar.

Provided Methods§

source

fn progress_count(self, len: u64) -> ProgressBarIter<Self>

Wrap an iterator with an explicit element count.

source

fn progress(self) -> ProgressBarIter<Self> where Self: IndexedParallelIterator,

source

fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self> where Self: IndexedParallelIterator,

Wrap an iterator with a progress bar and style it.

Implementors§