Module tinychain::chain[][src]

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

Structs

BlockChain
ChainBlock

A single filesystem block belonging to a super::Chain.

ChainView
ChainVisitor
SyncChain

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

Enums

Chain

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

ChainType

The type of a Chain.

ChainViewData
Schema

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

Subject

The state whose transactional integrity is protected by a Chain.

Constants

EXT

The file extension of a directory of ChainBlocks on disk.

Traits

ChainInstance

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

Functions

load