Skip to main content

StepResult

Type Alias StepResult 

Source
pub type StepResult<S> = Result<(S, Outcome), StepError>;
Expand description

The result of running a step: a new state plus what to do next.

Aliased Type§

pub enum StepResult<S> {
    Ok((S, Outcome)),
    Err(StepError),
}

Variants§

§1.0.0

Ok((S, Outcome))

Contains the success value

§1.0.0

Err(StepError)

Contains the error value