Skip to main content

step_key

Function step_key 

Source
pub fn step_key(
    program: ProgramHash,
    spec: &StepSpec,
    occurrence: u32,
) -> Result<StepKey, KeyError>
Expand description

The key of spec, the step at occurrence among identical commands of a run of the task program program.

ยงErrors

Returns KeyError when a list in the step is too long to encode.