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