Trait exonum_rocksdb::compaction_filter::CompactionFilterFn [] [src]

pub trait CompactionFilterFn: FnMut(u32, &[u8], &[u8]) -> Decision { }

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