Crate raftpico

Source
Expand description

A simple Raft framework for Rust built on top of the raftbare crate.

For more information, please refer to the README.md.

Re-exports§

pub use messages::Request;

Modules§

command
Raft command.
messages
RPC messages.
types
Basic types.

Structs§

ApplyContext
Context of a Machine::apply() call.
FileStorage
Storage that stores the state of a server and local log entries into one .jsonl file.
Server
Raft server.

Enums§

ApplyKind
This enum specifies how to execute Machine::apply().

Traits§

Machine
This trait represents a replicated state machine.