Skip to main content

AsyncForEach

Trait AsyncForEach 

Source
pub trait AsyncForEach<T> {
    // Required method
    fn async_for_each<F: Fn(MutexGuard<'_, T>) + Send + 'static>(&self, f: F);
}

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl AsyncForEach<FontContext> for Arc<FontContexts>

Source§

fn async_for_each<F: Fn(MutexGuard<'_, FontContext>) + Send + 'static>( &self, f: F, )

Implementors§