TimelyDataflow / timely-dataflow

A modular implementation of timely dataflow in Rust
MIT License
3.3k stars 272 forks source link

Rework container builder to use push into #569

Closed antiguru closed 5 months ago

antiguru commented 5 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