Function raftstore::store::peer_storage::write_peer_state[][src]

pub fn write_peer_state<T: Mutable>(
    kv_wb: &mut T,
    region: &Region,
    state: PeerState,
    merge_state: Option<MergeState>
) -> Result<()>