Struct raft::raw_node::LightReady [−][src]
pub struct LightReady { /* fields omitted */ }
Expand description
LightReady encapsulates the commit index, committed entries and messages that are ready to be applied or be sent to other peers.
Implementations
The current commit index. It will be None state if there is no update. It is not required to save it to stable storage.
CommittedEntries specifies entries to be committed to a store/state-machine. These have previously been committed to stable store.
Take the CommitEntries.
Take the Messages.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LightReady
impl Send for LightReady
impl Sync for LightReady
impl Unpin for LightReady
impl UnwindSafe for LightReady