pub trait TaskFlowSink<Args, Compact>: Backend{
// Required method
fn push_step(
&mut self,
step: Args,
index: usize,
) -> impl Future<Output = Result<(), WorkflowError>> + Send;
// Provided method
fn push_start(
&mut self,
step: Args,
) -> impl Future<Output = Result<(), WorkflowError>> + Send { ... }
}Required Methods§
fn push_step( &mut self, step: Args, index: usize, ) -> impl Future<Output = Result<(), WorkflowError>> + Send
Provided Methods§
fn push_start( &mut self, step: Args, ) -> impl Future<Output = Result<(), WorkflowError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.