pub trait Step<T, F> {
type Item;
type Held;
type Action: Future;
// Required methods
fn start(
action: F,
value: T,
emitter: &mut Option<Emitter<Self::Item>>,
) -> (Self::Action, Self::Held);
fn finish(
held: Self::Held,
output: <Self::Action as Future>::Output,
) -> Finish<Self::Item>;
}Expand description
How one suspending operator calls its action and what it emits.
Each suspending operator of FlowExt is a
Suspending flow with its own step: Mapping, Filtering,
FilterMapping, Inspecting, Transforming or
TransformingWhile.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".