Module persistence

Module persistence 

Source
Expand description

Persistence of a scenario.

Modules§

yaml
Persistence extensions for working with YAML files.

Structs§

PersistentEvent
A persistence-friendly representation of an Event.
PersistentScenario
A DTO for shuttling a scenario in a persistence-friendly form. Here, the timeline is replaced with a vector of PersistentEvents, which are encoded versions of the Event objects.
UnsupportedFileFormatError
Produced when reading from or writing to a file when the format does not match the requirements of persistence.

Enums§

ReadScenarioError
Produced when a scenario could not be read from an input stream or a file. Encompasses all
WriteScenarioError
Produced when the scenario could not be saved to an output stream or a file. Encompasses all possible error variants, some of which may not apply in all persistence scenarios.