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 spec/flow-model.md error format.