Skip to main content

can_transition

Function can_transition 

Source
pub fn can_transition(
    spec: &WorkflowSpec,
    from: &str,
    to: &str,
    has_evidence: impl Fn(&str) -> bool,
) -> Result<(), String>