Trait actix::fut::stream::ActorStream[][src]

pub trait ActorStream<A: Actor> {
    type Item;
    fn poll_next(
        self: Pin<&mut Self>,
        srv: &mut A,
        ctx: &mut A::Context,
        task: &mut Context<'_>
    ) -> Poll<Option<Self::Item>>; }
Expand description

A stream of values, not all of which may have been produced yet.

This is similar to futures_util::stream::Stream trait, except it works with Actor

Associated Types

The type of item this stream will yield on success.

Required methods

Implementors