Module reblessive::stack

source ·
Expand description

The stack runtime

A runtime for turning recursive functions into a number of futures which are run from a single flattened loop, preventing stack overflows.

This runtime also has support for external async function but it explicitly doesn’t support intra-task concurrency, i.e. calling select or join on multiple futures at the same time. These types of patterns break the stack allocation pattern which this executor uses to be able to allocate and run futures efficiently.

Structs§