Skip to main content

budget

Function budget 

Source
pub fn budget(
    configured: Option<u64>,
    limit: Option<u64>,
    slots: u32,
    reserve: Reserve,
) -> Option<u64>
Expand description

Each task’s budget: configured, else (limit − reserve) ÷ slots; None without either.