pub trait IntoExactSizeConcurrentIter {
type Item;
type ConIter: ExactSizeConcurrentIter<Item = Self::Item>;
// Required methods
fn into_exact_con_iter(self) -> Self::ConIter;
fn exact_len(&self) -> usize;
}
Expand description
A type that can be consumed and turned into an exact size concurrent iterator with into_exact_con_iter
method.
Required Associated Types§
sourcetype ConIter: ExactSizeConcurrentIter<Item = Self::Item>
type ConIter: ExactSizeConcurrentIter<Item = Self::Item>
Concurrent iterator that this type will be converted into with the into_con_iter
method.
Required Methods§
sourcefn into_exact_con_iter(self) -> Self::ConIter
fn into_exact_con_iter(self) -> Self::ConIter
Consumes this type and converts it into an exact size concurrent iterator.