tokio
1.44.1
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
Function
set
Copy item path
Settings
Help
Summary
Source
pub(crate) fn set(budget:
Budget
)
Expand description
Sets the current task’s budget.