Function validate_pac_flows

Source
fn validate_pac_flows(
    flows: &HashMap<ProcessID, Vec<ProcessFlow>>,
) -> Result<()>
Expand description

Validate that the PACs for each process are either all inputs or all outputs.

§Arguments

  • flows - A map of process IDs to process flows

§Returns

An Ok(()) if the check is successful, or an error.