Adding Send marker trait to Options

master
Jordan Terrell 7 years ago
parent 4d48b70bc2
commit 3286444228
  1. 2
      src/db_options.rs

@ -30,6 +30,8 @@ pub fn new_cache(capacity: size_t) -> *mut ffi::rocksdb_cache_t {
unsafe { ffi::rocksdb_cache_create_lru(capacity) }
}
unsafe impl Send for Options {}
impl Drop for Options {
fn drop(&mut self) {
unsafe {

Loading…
Cancel
Save