write_to_file

Function write_to_file 

Source
pub fn write_to_file<S: Clone + Serialize>(
    scenario: &Scenario<S>,
    path: impl AsRef<Path>,
) -> Result<(), WriteScenarioError>
Expand description

Writs a scenario to a YAML file.

ยงErrors

WriteScenarioError if the scenario could not be written.