tokio::runtime::context

Function budget

Source
pub(crate) fn budget<R>(
    f: impl FnOnce(&Cell<Budget>) -> R,
) -> Result<R, AccessError>