Module persistence

Module persistence 

Source
Expand description

§SwimOS Persistence API

Implement the PlanePersistence trait to provide a store that a SwimOS server can used to persist its state between executions.

Structs§

StoreDisabled
A dummy store implementation for when no peristence is required.

Traits§

NodePersistence
Defines that operations that must be provided for a store implementation that allows a Swim agent to persist its state.
PlanePersistence
Implementers of this trait can produce a family of independent stores, keyed by name, for any agent within a single plane.
RangeConsumer
Enumerates the entries of a map from a store. This cannot be an iterator as the entries can borrow from the consumer.
ServerPersistence

Type Aliases§

KeyValue
View of a entry from a map in a store.