LevelDB is supposedly usable from multiple threads. This would allow it.
I actually wanted to impl Copy for DB but it doesn't work out because impl Drop for Arc<T> conflicts with that. So right now users have to manually db.clone() in order to share with multiple threads.
LevelDB is supposedly usable from multiple threads. This would allow it.
I actually wanted to
impl Copy for DB
but it doesn't work out becauseimpl Drop for Arc<T>
conflicts with that. So right now users have to manuallydb.clone()
in order to share with multiple threads.