pub trait IterIntoConcurrentIter {
type Item;
type ConIter: ConcurrentIter<Item = Self::Item>;
// Required methods
fn into_con_iter(self) -> Self::ConIter;
fn try_get_exact_len(&self) -> Option<usize>;
}
Expand description
An Iterator type that can be consumed and turned into a concurrent iterator with into_con_iter
method.
Required Associated Types§
sourcetype ConIter: ConcurrentIter<Item = Self::Item>
type ConIter: ConcurrentIter<Item = Self::Item>
Concurrent iterator that this type will be converted into with the into_con_iter
method.
Required Methods§
sourcefn into_con_iter(self) -> Self::ConIter
fn into_con_iter(self) -> Self::ConIter
Consumes this type and converts it into a concurrent iterator.
sourcefn try_get_exact_len(&self) -> Option<usize>
fn try_get_exact_len(&self) -> Option<usize>
Returns Some of the exact initial length of the iterator to be created if it is known; returns None otherwise.