pub trait MapAwait<T, IntoIter: IntoIterator<Item = T>> {
// Required method
fn map_unordered<R: Rv, RtR: Rt<R>>(
self,
并发: usize,
func: impl Func<T, RtR>,
) -> Pin<Box<dyn Stream<Item = R> + Send>>
where <IntoIter as IntoIterator>::IntoIter: Send + 'static;
}Required Methods§
fn map_unordered<R: Rv, RtR: Rt<R>>( self, 并发: usize, func: impl Func<T, RtR>, ) -> Pin<Box<dyn Stream<Item = R> + Send>>
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.