Trait SimpleStepBuilderTrait

Source
pub trait SimpleStepBuilderTrait<I, O> {
    // Required method
    fn tasklet(self, step_callback: StepCallback) -> Self;
}
Expand description

A trait for building simple synchronous steps.

Required Methods§

Source

fn tasklet(self, step_callback: StepCallback) -> Self

Configures the step with a tasklet callback.

§Arguments
  • step_callback - The tasklet callback function.
§Returns

Returns a modified builder instance.

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.

Implementors§