Skip to main content

ForwardStep

Type Alias ForwardStep 

Source
pub type ForwardStep<S> = Box<dyn FnOnce(&mut S) -> Result<(), ApplyError> + Send>;
Expand description

Boxed forward step. Returns Ok(()) if the phase applied cleanly, or an ApplyError that propagates up to the caller after the rollback pass.

Aliased Typeยง

pub struct ForwardStep<S>(/* private fields */);