This PR introduces constraints to the Time and Diff associated types for TraceReader, BatchReader, and Cursor. They look roughly like so:
/// Timestamps associated with updates
type Time: Timestamp + Lattice + Ord + Clone;
/// Associated update.
type Diff: Semigroup;
These constraints are .. pretty much the rule now, in use of differential dataflow. Users end up needing to write where clauses with much of this information, even though no one expects to use these things in the absence of these properties.
This PR introduces constraints to the
Time
andDiff
associated types forTraceReader
,BatchReader
, andCursor
. They look roughly like so:These constraints are .. pretty much the rule now, in use of differential dataflow. Users end up needing to write
where
clauses with much of this information, even though no one expects to use these things in the absence of these properties.