Crate spacetimedb_commitlog
source ·Re-exports§
Modules§
Structs§
- Entry type of a
crate::Commitlog. - The canonical commitlog, backed by on-disk log files.
Commitlogoptions.- Pair of transaction offset and payload.
- An owned string with a max length of
N, like the venerable VARCHAR.
Constants§
Functions§
- Obtain an iterator which traverses the commitlog located at the
rootdirectory from the start, yieldingCommits. - Obtain an iterator which traverses the commitlog located at the
rootdirectory starting fromoffsetand yieldingCommits. - Traverse the commitlog located at the
rootdirectory from the start and “fold” its transactions into the providedDecoder. - Traverse the commitlog located at the
rootdirectory starting fromoffsetand “fold” its transactions into the providedDecoder. - Obtain an iterator which traverses the commitlog located at the
rootdirectory from the start, yieldingTransactions. - Obtain an iterator which traverses the commitlog located at the
rootdirectory starting fromoffsetand yieldingTransactions.