Struct actix::fut::stream::Fold[][src]

#[must_use = "streams do nothing unless polled"]pub struct Fold<S, F, Fut, T> { /* fields omitted */ }

Stream for the fold method.

Trait Implementations

impl<S, A, F, Fut, T> ActorFuture<A> for Fold<S, F, Fut::Future, T> where
    S: ActorStream<A>,
    A: Actor,
    F: FnMut(T, S::Item, &mut A, &mut A::Context) -> Fut,
    Fut: IntoActorFuture<A, Output = T>,
    Fut::Future: ActorFuture<A>, 
[src]

type Output = T

The type of value that this future will resolved with if it is successful. Read more

impl<S: Debug, F: Debug, Fut: Debug, T: Debug> Debug for Fold<S, F, Fut, T>[src]

impl<'__pin, S, F, Fut, T> Unpin for Fold<S, F, Fut, T> where
    __Origin<'__pin, S, F, Fut, T>: Unpin
[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> Send for Fold<S, F, Fut, T> where
    F: Send,
    Fut: Send,
    S: Send,
    T: Send

impl<S, F, Fut, T> Sync for Fold<S, F, Fut, T> where
    F: Sync,
    Fut: Sync,
    S: Sync,
    T: Sync

impl<S, F, Fut, T> UnwindSafe for Fold<S, F, Fut, T> where
    F: UnwindSafe,
    Fut: UnwindSafe,
    S: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<F, A> ActorFutureExt<A> for F where
    F: ActorFuture<A>,
    A: Actor
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F, A> IntoActorFuture<A> for F where
    F: ActorFuture<A>,
    A: Actor
[src]

type Future = F

The future that this type can be converted into.

type Output = <F as ActorFuture<A>>::Output

The item that the future may resolve with.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.