Trait rocksdb::compaction_filter::CompactionFilterFn [−][src]
Function to filter compaction with.
This function takes the level of compaction, the key, and the existing value and returns the decision about how to handle the Key-Value pair.
See Options::set_compaction_filter for more details
Implementors
impl<F> CompactionFilterFn for F where
F: FnMut(u32, &[u8], &[u8]) -> Decision + Send + 'static,
[src]
F: FnMut(u32, &[u8], &[u8]) -> Decision + Send + 'static,