[][src]Module actix_raft::storage

The RaftStorage interface and message types.

Structs

AppendLogEntry

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

ApplyToStateMachine

A request from Raft to apply the given log entries 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.

ReplicateLogEntries

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

SaveHardState

A request from Raft to save its HardState.

Enums

ApplyToStateMachinePayload

The type of payload which needs to be applied to the state machine.

Traits

RaftStorage

A trait defining the interface of a Raft storage actor.