FlowController

Trait FlowController 

Source
pub trait FlowController<I, O> {
    // Required method
    fn next_step(item: I) -> FlowStep<I, O>;
}
Expand description

Returns the next flow step based on the received item.

Required Methods§

Source

fn next_step(item: I) -> FlowStep<I, O>

Handles an item producing FlowStep describing the next flow step.

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.

Implementations on Foreign Types§

Source§

impl<I, O> FlowController<I, O> for ()

Source§

fn next_step(item: I) -> FlowStep<I, O>

Implementors§