pub trait IterIntoConcurrentIter {
    type Item;
    type ConIter: ConcurrentIter<Item = Self::Item>;

    // Required method
    fn into_con_iter(self) -> Self::ConIter;
}
Expand description

An Iterator type that can be consumed and turned into a concurrent iterator with into_con_iter method.

Required Associated Types§

source

type Item

Type of the items that the iterator yields.

source

type ConIter: ConcurrentIter<Item = Self::Item>

Concurrent iterator that this type will be converted into with the into_con_iter method.

Required Methods§

source

fn into_con_iter(self) -> Self::ConIter

Consumes this type and converts it into a concurrent iterator.

Implementors§

source§

impl<T: Send + Sync, Iter> IterIntoConcurrentIter for Iter
where Iter: Iterator<Item = T>,

§

type Item = T

§

type ConIter = ConIterOfIter<T, Iter>