[][src]Module rast::runtime

A "batteries included" runtime.

This hooks the determinic Raft implementation up to a ticker, persistent log, and rpc system. This is enabled by opting in to the "runtime" crate feature.

Structs

MemConn

A channel-based, in-process rpc connection to a peer node. Suitable for unit tests and benchmarks.

MemLog

An unpersisted Raft log implementation suitable for unit tests and benchmarks.

MemRPC

An channel-based, in-process rpc implementation. Suitable for unit tests and benchmarks.

RastClient

A thread-safe client for interacting with the local Raft node.

Runtime

An in-process end-to-end implementation of Raft, including log and rpc.