pub fn replace(budget: usize) -> BudgetGuardExpand description
Replace the current budget returning a guard that will release it.
Use BudgetGuard::take to take permites from the returned budget.
pub fn replace(budget: usize) -> BudgetGuardReplace the current budget returning a guard that will release it.
Use BudgetGuard::take to take permites from the returned budget.