Function tikv_kv::snapshot[][src]

pub fn snapshot<E: Engine>(
    engine: &E,
    ctx: SnapContext<'_>
) -> impl Future<Output = Result<E::Snap>>

Get a snapshot of engine.