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.