Enum engine_rocks::raw::CompactionFilterDecision[][src]

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

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, Global>)

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

RemoveAndSkipUntil(Vec<u8, Global>)

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> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]