Trait Value

Source
pub trait Value: PartialEq + LayerValue {
    const DELETED_MARKER: Self;
}
Expand description

Superset of LayerValue to additionally support tree searching, requires comparison and an DELETED_MARKER for indicating empty values used to indicate deletion in the LSMTree.

Required Associated Constants§

Source

const DELETED_MARKER: Self

Value used to represent that the entry is actually empty, and should be ignored.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Value for AllocatorValue

Source§

const DELETED_MARKER: Self = Self::None

Source§

impl Value for ObjectValue

Source§

const DELETED_MARKER: Self = Self::None