This is related to #234.
Pointers to underlying RocksDB objects (eg. iterators) can outlive the underlying DB object. If these objects are used after the DB is Drop-ped and closed, this can cause segfaults. Consider the implications to adding lifetime annotations to structs that manage these underlying objects.
该提问来源于开源项目:rust-rocksdb/rust-rocksdb