Module sequent::persistence

source ·
Expand description

Persistence of a scenario.

Modules

Persistence extensions for working with YAML files.

Structs

A persistence-friendly representation of an Event.
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.
Produced when reading from or writing to a file when the format does not match the requirements of persistence.

Enums

Produced when a scenario could not be read from an input stream or a file. Encompasses all
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.