Struct ForEachConcurrent
#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct ForEachConcurrent<St, Fut, F> { /* private fields */ }
Future for the for_each_concurrent
method.
Trait Implementations
impl<'__pin, St, Fut, F> Unpin for ForEachConcurrent<St, Fut, F>
where
PinnedFieldsOf<__Origin<'__pin, St, Fut, F>>: Unpin,
impl<St, Fut, F> Debug for ForEachConcurrent<St, Fut, F>
where
St: Debug,
Fut: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<St, Fut, F> FusedFuture for ForEachConcurrent<St, Fut, F>
where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
fn is_terminated(&self) -> bool
impl<St, Fut, F> Future for ForEachConcurrent<St, Fut, F>
where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
type Output = ();fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()>
Auto Trait Implementations
impl<St, Fut, F> !Freeze for ForEachConcurrent<St, Fut, F>
impl<St, Fut, F> !RefUnwindSafe for ForEachConcurrent<St, Fut, F>
impl<St, Fut, F> !UnwindSafe for ForEachConcurrent<St, Fut, F>
impl<St, Fut, F> Send for ForEachConcurrent<St, Fut, F>
where
Option<St>: Send,
F: Send,
FuturesUnordered<Fut>: Send,
impl<St, Fut, F> Sync for ForEachConcurrent<St, Fut, F>
where
Option<St>: Sync,
F: Sync,
FuturesUnordered<Fut>: Sync,
impl<St, Fut, F> UnsafeUnpin for ForEachConcurrent<St, Fut, F>
where
Option<St>: UnsafeUnpin,
F: UnsafeUnpin,
FuturesUnordered<Fut>: UnsafeUnpin,
Blanket Implementations
impl<F> IntoFuture for ForEachConcurrent<St, Fut, F>
where
F: Future,
type Output = <F as Future>::Output;type IntoFuture = F;fn into_future(self) -> <F as IntoFuture>::IntoFuture
impl<T> Any for ForEachConcurrent<St, Fut, F>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ForEachConcurrent<St, Fut, F>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ForEachConcurrent<St, Fut, F>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ForEachConcurrent<St, Fut, F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for ForEachConcurrent<St, Fut, F>
where
T: Future + ?Sized,
impl<T, U> Into<U> for ForEachConcurrent<St, Fut, F>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ForEachConcurrent<St, Fut, F>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ForEachConcurrent<St, Fut, F>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>