Commit 27ad36b3 authored by zhangjinpeng1987's avatar zhangjinpeng1987

DBComressionType copyable

parent 10e6056f
...@@ -72,6 +72,7 @@ pub fn new_cache(capacity: size_t) -> DBCache { ...@@ -72,6 +72,7 @@ pub fn new_cache(capacity: size_t) -> DBCache {
unsafe { rocksdb_cache_create_lru(capacity) } unsafe { rocksdb_cache_create_lru(capacity) }
} }
#[derive(Copy, Clone)]
#[repr(C)] #[repr(C)]
pub enum DBCompressionType { pub enum DBCompressionType {
DBNo = 0, DBNo = 0,
......
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