pub trait IntoExactSizeConcurrentIter {
type Item;
type ExactConIter: ExactSizeConcurrentIter<Item = Self::Item>;
// Required methods
fn into_exact_con_iter(self) -> Self::ExactConIter;
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 ExactConIter: ExactSizeConcurrentIter<Item = Self::Item>
type ExactConIter: ExactSizeConcurrentIter<Item = Self::Item>
Concurrent iterator that this type will be converted into with the into_exact_con_iter
method.
Required Methods§
sourcefn into_exact_con_iter(self) -> Self::ExactConIter
fn into_exact_con_iter(self) -> Self::ExactConIter
Consumes this type and converts it into an exact size concurrent iterator.