[][src]Trait rocks::compaction_filter::CompactionFilterFactory

pub trait CompactionFilterFactory {
    pub fn create_compaction_filter(
        &self,
        context: &Context
    ) -> Box<dyn CompactionFilter>; pub fn name(&self) -> &str { ... } }

Each compaction will create a new CompactionFilter allowing the application to know about different compactions

Required methods

pub fn create_compaction_filter(
    &self,
    context: &Context
) -> Box<dyn CompactionFilter>
[src]

Loading content...

Provided methods

pub fn name(&self) -> &str[src]

Returns a name that identifies this compaction filter factory.

Loading content...

Implementors

Loading content...