Function engine_rocks::raw::new_compaction_filter_raw[][src]

pub unsafe fn new_compaction_filter_raw(
    c_name: CString,
    f: Box<dyn CompactionFilter + 'static, Global>
) -> *mut DBCompactionFilter

Just like new_compaction_filter, but returns a raw pointer instead of a RAII struct. Generally used in CompactionFilterFactory::create_compaction_filter.