use gdiist_rocksdb as rocksdb; use rocksdb::{TransactionDB, SingleThreaded}; fn main() { let db = TransactionDB::::open_default("foo").unwrap(); let _snapshot = { let txn = db.transaction(); txn.snapshot() }; }