Module budget_executor::blocking::singlethreaded
source · [−]Expand description
A single-threaded (!Send + !Sync), blocking budgeting implementation that is runtime agnostic.
The only difference between this module and the threadsafe module is that this one uses std::rc::Rc and std::cell::RefCell instead of std::sync::Arc and std::sync::Mutex.
Structs
A future that was budgeted with Runtime::run_with_budget() that has not yet
completed.
A lightweight asynchronous runtime that runs a future while keeping track of a budget.
A handle to a task scheduled with a Runtime. Invoking
.await on this type will return the task’s output when the
original task completes.
Enums
The progress of a future’s execution.