Crate augrim

Crate augrim 

Source
Expand description

§Augrim

Augrim is a collection of reusable consensus algorithms.

§Using Augrim’s Algorithms

To use an algorithm, your application will commonly need to do two primary things:

The specific actions and events differ by algorithm; refer to the algorithm’s documentation.

Modules§

error
Common set of basic errors used throughout the library.
two_phase_commit
An implementation of the 2PC (Two-Phase Commit) atomic commitment protocol.

Structs§

IntoAlgorithm
An algorithm that wraps an algorithm of another type.
SystemTimeFactory
An implementation of TimeSource which works with SystemTime.

Traits§

Algorithm
A consensus algorithm.
Message
A message sent between processes.
Process
An identifier for an entity participating in consensus.
Time
A specific instant in time.
TimeSource
A factory for getting the current time.
Value
A value to be agreed upon between processes.