[][src]Module actix_raft::storage

The RaftStorage interface and message types.

Structs

AppendEntryToLog

A request from Raft to append a new entry to the log.

ApplyEntryToStateMachine

A request from Raft to apply the given log entry to the state machine.

CreateSnapshot

A request from Raft to have a new snapshot created which covers the current breadth of the log.

CurrentSnapshotData

The data associated with the current snapshot.

GetCurrentSnapshot

A request from Raft to get metadata of the current snapshot.

GetInitialState

A request from Raft to get Raft's state information from storage.

GetLogEntries

A request from Raft to get a series of log entries from storage.

HardState

A record holding the hard state of a Raft node.

InitialState

A struct used to represent the initial state which a Raft node needs when first starting.

InstallSnapshot

A request from Raft to have a new snapshot written to disk and installed.

InstallSnapshotChunk

A chunk of snapshot data.

ReplicateToLog

A request from Raft to replicate a payload of entries to the log.

ReplicateToStateMachine

A request from Raft to apply the given payload of entries to the state machine, as part of replication.

SaveHardState

A request from Raft to save its HardState.

Traits

RaftStorage

A trait defining the interface of a Raft storage actor.