Function tikv::storage::kv::snapshot[][src]

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

Get a snapshot of engine.