Module consume_
budget
tokio
1.44.1
Module consume_
budget
Module Items
Functions
In tokio::
task::
coop
Modules
consume_budget
unconstrained
Structs
Budget
BudgetDecrement
Coop
RestoreOnPending
Unconstrained
Functions
budget
consume_budget
cooperative
has_budget_remaining
inc_budget_forced_yield_count
poll_budget_available
poll_proceed
register_waker
set
stop
unconstrained
with_budget
with_unconstrained
tokio
::
task
::
coop
Module
consume_budget
Copy item path
Settings
Help
Summary
Source
Functions
§
consume_
budget
Consumes a unit of budget and returns the execution back to the Tokio runtime
if
the task’s coop budget was exhausted.