[][src]Crate dumb_exec

A barebones executor for futures that can run in a zero-allocation environment. The current implementation runs futures to completion the moment they're run. This behavior, while in the theme of the name, is likely to change. There are also plans to provide an executor that depends solely on the alloc crate, As well as versions to use in multithreaded contexts such as multiproccessing operating systems.

Modules

cached

Provides a smarter executor that can store futures in progress. Storage is provided by the user as a preinitialized slice of Tasks. Task::init is provided to facilitate this initialization by giving an infinite iterator of empty Tasks.

Structs

DumbExec

The primary component of the crate. Can be used simply with let result = DumbExec::new().run(future) or can be shared for multiple tasks. Warning: runs tasks sequentially with no true asynchronicity!