pub trait TryFoldAll<T>: Iterator<Item = T> + Sized {
// Provided method
fn try_fold_all<Acc, E: Error + From<Vec<E>>, F>(
self,
init: Acc,
f: F,
) -> Result<Acc, E>
where F: FnMut(Acc, T) -> (Acc, Option<E>) { ... }
}Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.