From 8f545b6848467b4c5f8bc598d1123ab26c907207 Mon Sep 17 00:00:00 2001 From: Thomas Tanon Date: Wed, 14 Nov 2018 14:16:44 +0100 Subject: [PATCH] Makes ColumnFamily Send --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index fa191b6..d0c0a1f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -229,3 +229,5 @@ pub struct WriteOptions { pub struct ColumnFamily { inner: *mut ffi::rocksdb_column_family_handle_t, } + +unsafe impl Send for ColumnFamily {}