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

pub fn do_snapshot<E>(
    mgr: SnapManager,
    engine: &E,
    kv_snap: E::Snapshot,
    region_id: u64,
    last_applied_index_term: u64,
    last_applied_state: RaftApplyState,
    for_balance: bool
) -> Result<Snapshot> where
    E: KvEngine