Skip to main content

run

Function run 

Source
pub async fn run(scenario: Scenario, cfg: DriverConfig) -> Result<RunOutput>
Expand description

Top-level entry point that main calls. Returns the populated RunOutput. The caller must serialise it to disk.

§Errors

Returns an error when input data is invalid, required I/O fails, or the destination rejects the generated report or audit event.

§Panics

Panics if synchronized state is poisoned or validated input is missing a field required to produce the output.