Trait StreamConsumer

Source
pub trait StreamConsumer: Send + 'static {
    type BarrierStream: Stream<Item = StreamResult<Barrier>> + Send;

    // Required method
    fn execute(self: Box<Self>) -> Self::BarrierStream;
}
Expand description

StreamConsumer is the last step in an actor.

Required Associated Types§

Required Methods§

Source

fn execute(self: Box<Self>) -> Self::BarrierStream

Implementors§