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

#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct Collect<S, C> { /* fields omitted */ }

Future for the collect method.

Trait Implementations

impl<S, A, C> ActorFuture<A> for Collect<S, C> where
    S: ActorStream<A>,
    A: Actor,
    C: Default + Extend<S::Item>, 
[src]

type Output = C

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

impl<S: Debug, C: Debug> Debug for Collect<S, C>[src]

impl<'__pin, S, C> Unpin for Collect<S, C> where
    __Origin<'__pin, S, C>: Unpin
[src]

Auto Trait Implementations

impl<S, C> RefUnwindSafe for Collect<S, C> where
    C: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, C> Send for Collect<S, C> where
    C: Send,
    S: Send

impl<S, C> Sync for Collect<S, C> where
    C: Sync,
    S: Sync

impl<S, C> UnwindSafe for Collect<S, C> where
    C: UnwindSafe,
    S: 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<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.