Crate raft_engine

Source
Expand description

§Raft Engine

Modules§

env
internals
A selective view of key components in Raft Engine. Exported under the internals feature only.

Macros§

perf_context

Structs§

Config
Engine
GlobalStats
LogBatch
A batch of log items.
PerfContext
PerfContext records cumulative performance statistics of operations.
ReadableSize

Enums§

Command
Error
RecoveryMode
Version
Version of log file format.

Traits§

MessageExt
MessageExt trait allows for probing log index from a specific type of protobuf messages.

Functions§

get_perf_context
Gets a copy of the thread-local PerfContext.
set_perf_context
Sets the value of the thread-local PerfContext.
take_perf_context
Resets the thread-local PerfContext and takes its old value.

Type Aliases§

Result