pub trait IntoExactSizeConcurrentIter: IntoConcurrentIter
where Self::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 Methods§

source

fn into_exact_con_iter(self) -> Self::ConIter

Consumes this type and converts it into an exact size concurrent iterator.

source

fn exact_len(&self) -> usize

Returns the exact remaining length of the exact size concurrent iterator, before converting it into the iterator.

Implementations on Foreign Types§

source§

impl<'a, T: Send + Sync> IntoExactSizeConcurrentIter for &'a [T]

source§

impl<Idx> IntoExactSizeConcurrentIter for Range<Idx>
where Idx: Send + Sync + Clone + Copy + From<usize> + Into<usize> + Add<Idx, Output = Idx> + Sub<Idx, Output = Idx> + Ord,

source§

impl<T: Send + Sync + Default> IntoExactSizeConcurrentIter for Vec<T>

source§

impl<const N: usize, T: Send + Sync + Default> IntoExactSizeConcurrentIter for [T; N]

Implementors§