Module cost
Re-exports§
pub use tracker::CostTracker;pub use tracker::SubtreeSpend;pub use types::*;
Modules§
Constants§
- MAX_
SANE_ USD_ RATE - Upper bound for any configured or discovered USD cost rate.
Functions§
- is_
sane_ usd_ rate - Whether a USD rate is finite, non-negative, and within the shared safety bound. Zero remains valid so an explicitly free resource is distinguishable from unavailable pricing.