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