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