Skip to main content

Module budget

Module budget 

Source
Expand description

Optional expansion and wall-clock budgets shared by online search lanes. Optional wall-clock and expansion budgets for online search requests.

Budgets are caller-supplied and unlimited by default. When a limit is hit mid-search, owners return domain Err(…BudgetExhausted…) rather than crate::SearchOutcome::NoPath: the search did not prove unreachability.

Prepared preprocess budgets (for example prepared any-angle node/edge caps) remain separate fail-closed build limits in owner crates.

Structs§

BudgetWatch
One-shot wall-clock deadline for a single search invocation.
SearchBudget
Caller-chosen expansion and/or wall-clock limits for one search.

Enums§

BudgetExhausted
Why a search stopped for budget rather than completing found/no-path.