Skip to main content

transition

Function transition 

Source
pub fn transition(
    kind: PhaseNodeKind,
    cur: Phase,
) -> Result<Transition, PhaseError>
Expand description

Look up the out-phase for a node at its current in-phase.

§Errors

Returns PhaseError when cur is not in the node’s accepted in-phase set. Validator consumers translate this into the 02-flow.md error format.