Skip to main content

Data

Trait Data 

Source
pub trait Data:
    Data
    + Columnar<Container: Send + Sync + Clone + for<'a> Borrow<Ref<'a>: Eq + Ord>>
    + Send
    + Sync { }
Expand description

Convenient alias for use in data trait bounds.

D is constrained to be Columnar, so that updates can be stored in a single columnar region per chunk, and the variable-length payload (e.g. Row bytes) lives in the same allocation as the rest of the chunk. The Ref-level Eq + Ord bounds let the merge/heap code compare updates directly through the columnar borrow, avoiding into_owned clones on the hot path.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<D> Data for D
where D: Data + Columnar<Container: Send + Sync + Clone + for<'a> Borrow<Ref<'a>: Eq + Ord>> + Send + Sync,