pub trait OutHandler: Send {
// Provided methods
fn on_pull(
&mut self,
_logic: &mut GraphStageLogic,
_outlet: AnyOutlet,
) -> StreamResult<()> { ... }
fn keep_handler(&self) -> bool { ... }
fn on_downstream_finish(
&mut self,
logic: &mut GraphStageLogic,
_outlet: AnyOutlet,
) -> StreamResult<()> { ... }
}Provided Methods§
fn on_pull( &mut self, _logic: &mut GraphStageLogic, _outlet: AnyOutlet, ) -> StreamResult<()>
fn keep_handler(&self) -> bool
fn on_downstream_finish( &mut self, logic: &mut GraphStageLogic, _outlet: AnyOutlet, ) -> StreamResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".