1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (c) 2026 2youg1 and the sprawling contributors
//! What one plan node has cost so far.
//!
//! **Absolute money and no share.** A share needs a denominator this
//! answer does not carry - the city's own total is `CostAnswer`'s - and
//! a percentage with no denominator is exactly what `UnplannedProgress`
//! refuses to spell. A reader who wants a share holds both answers and
//! divides.
//!
//! A node nobody ever claimed answers zero with an empty list rather
//! than `Unavailable`: "no run has held this node" is a true answer,
//! while "I could not look" is what `Unavailable` means.
use ;
use ;
/// What one plan node cost, and which runs spent it.
/// How many runs one `Query::RunCosts` may name: a bound on the size of
/// one answer on the wire, not a machine reading.
pub const RUN_COSTS_MAX: usize = 64;
/// What each run a `Query::RunCosts` named was billed.