pub trait ConcurrentIterable {
type Item<'i>
where Self: 'i;
type ConIter<'i>: ConcurrentIter<Item = Self::Item<'i>>
where Self: 'i;
// Required method
fn con_iter(&self) -> Self::ConIter<'_>;
}
Expand description
A type that is concurrently iterable; i.e., which can provide a ConcurrentIter
with the con_iter
method.
Required Associated Types§
Sourcetype ConIter<'i>: ConcurrentIter<Item = Self::Item<'i>>
where
Self: 'i
type ConIter<'i>: ConcurrentIter<Item = Self::Item<'i>> where Self: 'i
Concurrent iterator that this type creates with the con_iter
method.
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.