use gdiist_rocksdb as rocksdb; use rocksdb::DB; fn main() { let _snapshot = { let db = DB::open_default("foo").unwrap(); db.snapshot() }; }