pub trait Oks<T> {
// Required method
fn process<R: Default, E, F>(self, f: F) -> Result<R, E>
where F: Fn(T) -> Result<R, E>;
}
Expand description
Extend any Iterator with a process
method, equivalent to a fallible for_each.
Required 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.