Trait differential_dataflow::trace::implementations::Layout
source · pub trait Layout {
type Target: Update + ?Sized;
type KeyContainer: BatchContainer + PushInto<<Self::Target as Update>::Key>;
type ValContainer: BatchContainer;
type TimeContainer: BatchContainer<Owned = <Self::Target as Update>::Time> + PushInto<<Self::Target as Update>::Time>;
type DiffContainer: BatchContainer<Owned = <Self::Target as Update>::Diff> + PushInto<<Self::Target as Update>::Diff>;
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 + PushInto<<Self::Target as Update>::Key>
type KeyContainer: BatchContainer + PushInto<<Self::Target as Update>::Key>
Container for update keys.
sourcetype ValContainer: BatchContainer
type ValContainer: BatchContainer
Container for update vals.
sourcetype TimeContainer: BatchContainer<Owned = <Self::Target as Update>::Time> + PushInto<<Self::Target as Update>::Time>
type TimeContainer: BatchContainer<Owned = <Self::Target as Update>::Time> + PushInto<<Self::Target as Update>::Time>
Container for times.
sourcetype DiffContainer: BatchContainer<Owned = <Self::Target as Update>::Diff> + PushInto<<Self::Target as Update>::Diff>
type DiffContainer: BatchContainer<Owned = <Self::Target as Update>::Diff> + PushInto<<Self::Target as Update>::Diff>
Container for diffs.
sourcetype OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>
type OffsetContainer: for<'a> BatchContainer<ReadItem<'a> = usize>
Container for offsets.