pub trait Layout {
type KeyContainer: BatchContainer;
type ValContainer: BatchContainer;
type TimeContainer: BatchContainer<Owned: Lattice + Timestamp>;
type DiffContainer: BatchContainer<Owned: Semigroup + 'static>;
type OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>;
}
Expand description
A type with opinions on how updates should be laid out.
Required Associated Types§
Sourcetype KeyContainer: BatchContainer
type KeyContainer: BatchContainer
Container for update keys.
Sourcetype ValContainer: BatchContainer
type ValContainer: BatchContainer
Container for update vals.
Sourcetype TimeContainer: BatchContainer<Owned: Lattice + Timestamp>
type TimeContainer: BatchContainer<Owned: Lattice + Timestamp>
Container for times.
Sourcetype DiffContainer: BatchContainer<Owned: Semigroup + 'static>
type DiffContainer: BatchContainer<Owned: Semigroup + 'static>
Container for diffs.
Sourcetype OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>
type OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>
Container for offsets.