Skip to main content

simulate_sequence

Function simulate_sequence 

Source
pub fn simulate_sequence(
    initial: &ScanReport,
    config: &RaysenseConfig,
    actions: &[Action],
) -> Result<ScanReport, SequenceError>
Expand description

Apply a sequence of Actions in order, threading the mutated ScanReport through each step. Returns the first SimulateError encountered, indexed by action position so callers know which step failed. Filesystem state is never touched — every mutation is in-memory.