Struct raft_consensus::state_machine::null::NullStateMachine[][src]

pub struct NullStateMachine;

A state machine with no states.

Trait Implementations

impl Debug for NullStateMachine
[src]

Formats the value using the given formatter. Read more

impl StateMachine for NullStateMachine
[src]

Applies a command to the state machine. Returns an application-specific result value. Read more

Queries a value of the state machine. Does not go through the durable log, or mutate the state machine. Returns an application-specific result value. Read more

Take a snapshot of the state machine.

Restore a snapshot of the state machine.

Auto Trait Implementations