Struct actix::fut::stream::Fold [−][src]
#[must_use = "streams do nothing unless polled"]pub struct Fold<S, F, Fut, T> { /* fields omitted */ }
Expand description
Stream for the fold
method.
Trait Implementations
impl<S, A, F, Fut> ActorFuture<A> for Fold<S, F, Fut, Fut::Output> where
S: ActorStream<A>,
A: Actor,
F: FnMut(Fut::Output, S::Item, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
[src]
impl<S, A, F, Fut> ActorFuture<A> for Fold<S, F, Fut, Fut::Output> where
S: ActorStream<A>,
A: Actor,
F: FnMut(Fut::Output, S::Item, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
[src]Auto Trait Implementations
impl<S, F, Fut, T> RefUnwindSafe for Fold<S, F, Fut, T> where
F: RefUnwindSafe,
Fut: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, F, Fut, T> UnwindSafe for Fold<S, F, Fut, T> where
F: UnwindSafe,
Fut: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Map this future’s result to a different type, returning a new future of the resulting type. Read more
Chain on a computation for when a future finished, passing the result of
the future to the provided closure f
. Read more
Add timeout to futures chain. Read more
Wrap the future in a Box, pinning it. Read more
impl<A, F, T, E> ActorTryFuture<A> for F where
F: ActorFuture<A, Output = Result<T, E>> + ?Sized,
A: Actor,
[src]
impl<A, F, T, E> ActorTryFuture<A> for F where
F: ActorFuture<A, Output = Result<T, E>> + ?Sized,
A: Actor,
[src]Mutably borrows from an owned value. Read more