Crate stackfuture

source ·
Expand description

This crate defines a StackFuture wrapper around futures that stores the wrapped future in space provided by the caller. This can be used to emulate dyn async traits without requiring heap allocation.

For more details, see the documentation on the StackFuture struct.


Captures information about why a future could not be converted into a StackFuture
A wrapper that stores a future in space allocated by the container