[][src]Module smartpool::push

Structs

PushFutureRecv

The receiving end of a push future, which can be composed. The sending end will push the value to it, once the sending end is executed.

PushFutureSend

The sending end of a push future, which must be submitted to a threadpool, and will push the value to the receiving end.

Functions

push_future

Push futures are futures based on interior mutability and shared memory, where one tasks produces a value, and sends it to another task. This is generally less efficient that the normal way in which Rust's futures ecosystem occurs. The purpose of this module is not to become a normal way of executing futures. Rather, this module is created to allow for tasks which execute across several channels, or even several pools, or with internal forking and concurrency.