pub trait AsyncForEach<T> {
// Required method
fn async_for_each<F: Fn(MutexGuard<'_, T>) + Send + 'static>(&self, f: F);
}
Required Methods§
fn async_for_each<F: Fn(MutexGuard<'_, T>) + Send + 'static>(&self, f: F)
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.