Skip to main content

Module storage

Module storage 

Source

Structs§

HashMapStorage
SingletonStorage
Helper to store a simple computation type which has no fields and thus does not require a map to cache each possible value.
TreeIndexStorage
TreeIndexStorage is backed internally by a scc::TreeIndex, a type optimized for read-heavy workloads. See scc’s documentation for performance details.

Traits§

Computation
Run
Storage
The Storage trait is implemented on a type which can cache all of the computations used in the program (or a subset of it). These types are typically composed of several fields with each field implementing StorageFor<T> where T is one computation type. Note that each computation type must be unique within a Storage type.
StorageFor
This trait is implemented by a type storing a single computation type C. Examples include HashMapStorage<C>, SingletonStorage<C>, and BTreeMapStorage<C>.