pub trait ActorStream<A: Actor> {
    type Item;
    // Required method
    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