[−][src]Struct tokio::prelude::stream::ForEach
A stream combinator which executes a unit closure over each item on a stream.
This structure is returned by the Stream::for_each
method.
Trait Implementations
impl<S, F, U> Future for ForEach<S, F, U> where
F: FnMut(<S as Stream>::Item) -> U,
S: Stream,
U: IntoFuture<Item = (), Error = <S as Stream>::Error>,
[src][+]
F: FnMut(<S as Stream>::Item) -> U,
S: Stream,
U: IntoFuture<Item = (), Error = <S as Stream>::Error>,
impl<S, F, U> Debug for ForEach<S, F, U> where
F: Debug,
S: Debug,
U: Debug + IntoFuture,
<U as IntoFuture>::Future: Debug,
[src][+]
F: Debug,
S: Debug,
U: Debug + IntoFuture,
<U as IntoFuture>::Future: Debug,
Auto Trait Implementations
impl<S, F, U> Send for ForEach<S, F, U> where
F: Send,
S: Send,
<U as IntoFuture>::Future: Send,
F: Send,
S: Send,
<U as IntoFuture>::Future: Send,
impl<S, F, U> Unpin for ForEach<S, F, U> where
F: Unpin,
S: Unpin,
<U as IntoFuture>::Future: Unpin,
F: Unpin,
S: Unpin,
<U as IntoFuture>::Future: Unpin,
impl<S, F, U> Sync for ForEach<S, F, U> where
F: Sync,
S: Sync,
<U as IntoFuture>::Future: Sync,
F: Sync,
S: Sync,
<U as IntoFuture>::Future: Sync,
impl<S, F, U> UnwindSafe for ForEach<S, F, U> where
F: UnwindSafe,
S: UnwindSafe,
<U as IntoFuture>::Future: UnwindSafe,
F: UnwindSafe,
S: UnwindSafe,
<U as IntoFuture>::Future: UnwindSafe,
impl<S, F, U> RefUnwindSafe for ForEach<S, F, U> where
F: RefUnwindSafe,
S: RefUnwindSafe,
<U as IntoFuture>::Future: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
<U as IntoFuture>::Future: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<F> IntoFuture for F where
F: Future,
[src][+]
F: Future,