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§

Source

type KeyContainer: BatchContainer

Container for update keys.

Source

type ValContainer: BatchContainer

Container for update vals.

Source

type TimeContainer: BatchContainer<Owned: Lattice + Timestamp>

Container for times.

Source

type DiffContainer: BatchContainer<Owned: Semigroup + 'static>

Container for diffs.

Source

type OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>

Container for offsets.

Implementations on Foreign Types§

Source§

impl<KC, VC, TC, DC, OC> Layout for (KC, VC, TC, DC, OC)
where KC: BatchContainer, VC: BatchContainer, TC: BatchContainer<Owned: Lattice + Timestamp>, DC: BatchContainer<Owned: Semigroup>, OC: for<'a> BatchContainer<ReadItem<'a> = usize>,

Implementors§