TimelyDataflow / timely-dataflow

A modular implementation of timely dataflow in Rust
MIT License
3.25k stars 273 forks source link

Rework container builder to use push into #569

Closed antiguru closed 2 months ago

antiguru commented 2 months ago

Previously, ContainerBuilder had push and push_container functions, which were odd in the presence of the PushInto trait. This change removes the functions and instead relies on a PushInto implementation. As a bonus, this removes several SizableContainer bounds, which are now up to the caller to enforce should they push into a capacity-based container builder.

Specifically, it adds the following new types or APIs:

Signed-off-by: Moritz Hoffmann antiguru@gmail.com