Skip to main content

check_effects

Function check_effects 

Source
pub fn check_effects(
    node: &CompositionNode,
    store: &(impl StageStore + ?Sized),
    policy: &EffectPolicy,
) -> Vec<EffectViolation>
Expand description

Pre-flight check: walk the graph and verify every stage’s declared effects are within the granted policy. Returns an empty vec when all effects are allowed.