Struct TryFoldWith
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct TryFoldWith<I, U: Try, F> { /* private fields */ }
TryFoldWith is an iterator that applies a function over an iterator producing a single value.
This struct is created by the try_fold_with() method on ParallelIterator
Trait Implementations
impl<I, U, F> Debug for TryFoldWith<I, U, F>
where
I: Debug,
U: Try<Output: Debug>,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I: Clone, U: Clone + Try, F: Clone> Clone for TryFoldWith<I, U, F>
where
U::Output: Clone,
fn clone(&self) -> Self
impl<U, I, F> ParallelIterator for TryFoldWith<I, U, F>
where
I: ParallelIterator,
F: Fn(U::Output, I::Item) -> U + Sync + Send,
U: Try<Output: Clone + Send> + Send,
type Item = U;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,