Module tinychain::chain[][src]

Expand description

A Chain responsible for recovering a State from a failed transaction.

Structs

A Chain which stores every mutation of its Subject in a series of ChainBlocks

A single filesystem block belonging to a Chain.

A view of a Chain within a single Transaction, used for serialization.

A de::Visitor for deserializing a Chain.

A super::Chain which keeps only the data needed to recover the state of its subject in the event of a transaction failure.

Enums

A data structure responsible for maintaining the transactional integrity of its Subject.

The type of a Chain.

A helper struct for ChainView

The schema of a Chain, used when constructing a new Chain or loading a Chain from disk.

The state whose transactional integrity is protected by a Chain.

Constants

The file extension of a directory of ChainBlocks on disk.

The name of the file containing a Chain’s Subject’s data.

Traits

Trait defining methods common to any instance of a Chain, such as a SyncChain.

Functions

Load a Chain from disk.