pub trait Step<Args, FlowSink, Encode>where
FlowSink: WeakTaskSink<Self::Response>,{
type Response;
type Error: Send;
// Required method
fn run(
&mut self,
ctx: &StepContext<FlowSink, Encode>,
step: Task<Args, FlowSink::Context, FlowSink::IdType>,
) -> impl Future<Output = Result<GoTo<Self::Response>, Self::Error>> + Send;
}Required Associated Types§
Required Methods§
fn run( &mut self, ctx: &StepContext<FlowSink, Encode>, step: Task<Args, FlowSink::Context, FlowSink::IdType>, ) -> impl Future<Output = Result<GoTo<Self::Response>, Self::Error>> + 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.