Skip to main content

DataContainer

Trait DataContainer 

Source
pub trait DataContainer:
    Send
    + Sync
    + Clone
    + for<'a> Borrow<Ref<'a>: Eq + Ord, Borrowed<'a>: Send> { }
Expand description

The bounds Data places on its columnar container.

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. The Borrowed-level Send bound lets a hoisted Chunk::view travel with the iterators that CorrectionV2::updates_before hands across the persist writer’s await.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<C> DataContainer for C
where C: Send + Sync + Clone + for<'a> Borrow<Ref<'a>: Eq + Ord, Borrowed<'a>: Send>,