Enum rocksdb::CompactionFilterDecision[][src]

pub enum CompactionFilterDecision {
    Keep,
    Remove,
    ChangeValue(Vec<u8>),
    RemoveAndSkipUntil(Vec<u8>),
}

Decision used in CompactionFilter::filter.

Variants

Keep

The record will be kept instead of filtered.

Remove

The record will be filtered, and a tombstone will be left.

ChangeValue(Vec<u8>)

The record will be kept but the value will be replaced.

RemoveAndSkipUntil(Vec<u8>)

All records between [current, until) will be filtered without any tombstones left.

Auto Trait Implementations

impl RefUnwindSafe for CompactionFilterDecision

impl Send for CompactionFilterDecision

impl Sync for CompactionFilterDecision

impl Unpin for CompactionFilterDecision

impl UnwindSafe for CompactionFilterDecision

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.