Module interface

Module interface 

Source

Structs§

DatabaseUpdates
A canonical description of all database updates to be applied. Note: this struct can be migrated to an enum if we ever have a need for database-wide batch changes (see PartitionDatabaseUpdates enum).
DbPartitionKey
A database-level key of an entire partition. Seen from the higher-level API: it represents a pair (RE Node ID, Module ID). Seen from the lower-level implementation: it is used as a key in the upper-layer tree of our two-layered JMT.
DbSortKey
A database-level key of a substate within a known partition. Seen from the higher-level API: it represents a local Substate Key. Seen from the lower-level implementation: it is used as a key in the Substate-Tier JMT.
NodeDatabaseUpdates
A canonical description of specific Node’s updates to be applied. Note: this struct can be migrated to an enum if we ever have a need for Node-wide batch changes (see PartitionDatabaseUpdates enum).

Enums§

PartitionDatabaseUpdates
A canonical description of specific Partition’s updates to be applied.

Traits§

CommittableSubstateDatabase
A write interface between Track and a database vendor.
CommittableSubstateDatabaseExtensions
CreateDatabaseUpdates
ListableSubstateDatabase
A partition listing interface between Track and a database vendor.
ListableSubstateDatabaseExtensions
These are a separate trait so that ListableSubstateDatabase stays object-safe, and can be used as dyn ListableSubstateDatabase.
SubstateDatabase
A read interface between Track and a database vendor.
SubstateDatabaseExtensions
These are a separate trait so that SubstateDatabase stays object-safe, and can be used as dyn SubstateDatabase.

Type Aliases§

DbNodeKey
DbPartitionNum
DbSubstateKey
A fully-specified key of a substate (i.e. specifying its partition and sort key).
PartitionEntry
A key-value entry of a substate within a known partition.