Commit 5c5cf595 authored by Dylan Wen's avatar Dylan Wen Committed by zhangjinpeng1987

add send trait for SstFileWriter (#11)

parent cd24a696
......@@ -22,6 +22,8 @@ pub struct SstFileWriter {
inner: *mut librocksdb_sys::SstFileWriter,
}
unsafe impl Send for SstFileWriter {}
impl SstFileWriter {
pub fn new(env_opt: &EnvOptions, opt: &Options) -> SstFileWriter {
unsafe {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment