Trait engine_traits::raft_engine::RaftLogBatch [−][src]
Required methods
fn append(&mut self, raft_group_id: u64, entries: Vec<Entry>) -> Result<()>
[src]
Note: RaftLocalState
won’t be updated in this call.
fn cut_logs(&mut self, raft_group_id: u64, from: u64, to: u64)
[src]
Remove Raft logs in [from
, to
) which will be overwritten later.
fn put_raft_state(
&mut self,
raft_group_id: u64,
state: &RaftLocalState
) -> Result<()>
[src]
&mut self,
raft_group_id: u64,
state: &RaftLocalState
) -> Result<()>