pub trait FutureConsumer {
type Item;
// Required method
fn fut_consume(
self,
func: impl FnMut(Self::Item) + Send,
) -> impl Future<Output = ()>;
}Expand description
Tools for consume iterator which return future.
Required Associated Types§
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.