Trait raftstore::store::peer_storage::HandleRaftReadyContext [−][src]
Required methods
fn wb_mut(&mut self) -> (&mut WK, &mut WR)
[src]
Returns the mutable references of WriteBatch for both KvDB and RaftDB in one interface.
fn kv_wb_mut(&mut self) -> &mut WK
[src]
fn raft_wb_mut(&mut self) -> &mut WR
[src]
fn sync_log(&self) -> bool
[src]
fn set_sync_log(&mut self, sync: bool)
[src]
Implementors
impl<EK, ER, T> HandleRaftReadyContext<<EK as WriteBatchExt>::WriteBatch, <ER as RaftEngine>::LogBatch> for PollContext<EK, ER, T> where
EK: KvEngine,
ER: RaftEngine,
[src]
EK: KvEngine,
ER: RaftEngine,