pub trait ParIterableReader<'a, T>: Sync {
type Error: Error + Send;
// Required method
fn par_iter(
&'a self,
) -> impl ParallelIterator<Item = Result<T, Self::Error>>;
// Provided method
fn par_iter_ok(&'a self) -> impl ParallelIterator<Item = T>
where T: Send { ... }
}Required Associated Types§
Required Methods§
fn par_iter(&'a self) -> impl ParallelIterator<Item = Result<T, Self::Error>>
Provided Methods§
fn par_iter_ok(&'a self) -> impl ParallelIterator<Item = T>where
T: Send,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".