risingwave_stream::executor::exchange::output

Trait Output

source
pub trait Output:
    Debug
    + Send
    + Sync
    + 'static {
    // Required methods
    fn send<'life0, 'async_trait>(
        &'life0 mut self,
        message: Message,
    ) -> Pin<Box<dyn Future<Output = StreamResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn actor_id(&self) -> ActorId;

    // Provided method
    fn boxed(self) -> BoxedOutput
       where Self: Sized + 'static { ... }
}
Expand description

Output provides an interface for Dispatcher to send data into downstream actors.

Required Methods§

source

fn send<'life0, 'async_trait>( &'life0 mut self, message: Message, ) -> Pin<Box<dyn Future<Output = StreamResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn actor_id(&self) -> ActorId

The downstream actor id.

Provided Methods§

source

fn boxed(self) -> BoxedOutput
where Self: Sized + 'static,

Implementors§