Skip to main content

Data

Trait Data 

Source
pub trait Data:
    Data
    + Columnar<Container: DataContainer>
    + DataBytes
    + 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. DataContainer carries the bounds on that container.

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: DataContainer> + DataBytes + Send + Sync,