pub enum BudgetKind {
Show 13 variants
ResolverDepth,
EnumExpansion,
ScenarioCombinationsPerValue,
ScenarioProductCovering,
ScenarioCombinationsTotal,
ConditionParameterCombinations,
ConditionSatIterationsPerQuery,
ConditionSatIterationsTotal,
SchemaScenarioAssignments,
SchemaScenarioMergeAttempts,
SchemaMatchDepth,
RequiredPropertyCombinations,
ExpressionFingerprintDepth,
}Expand description
A finite set of deterministic validation budgets. Each variant names the budget that was exhausted; no occurrence count, path, or query detail is stored so the tracker remains bounded and order-insensitive.
as_str provides the stable lower camelCase identifier used by report
consumers. description provides a human-readable sentence.
Variants§
ResolverDepth
Intrinsic-resolution recursion depth.
EnumExpansion
Per-value variant expansion during intrinsic resolution.
ScenarioCombinationsPerValue
Per-value scenario-combination expansion.
ScenarioProductCovering
Joint list/map scenario products replaced by an alternative-covering set.
ScenarioCombinationsTotal
Cumulative scenario-combination work across all values.
ConditionParameterCombinations
Condition parameter-space pre-filter.
ConditionSatIterationsPerQuery
Per-query satisfiability search steps.
ConditionSatIterationsTotal
Cumulative satisfiability search steps across all queries.
SchemaScenarioAssignments
Schema scenario-assignment expansion per property group.
SchemaScenarioMergeAttempts
Schema scenario merge attempts per property group.
SchemaMatchDepth
Schema recursive match depth.
RequiredPropertyCombinations
Required-property combination expansion. Context-only: reaching this cap truncates the diagnostic explanation without omitting the finding.
ExpressionFingerprintDepth
Expression fingerprint depth.
Implementations§
Source§impl BudgetKind
impl BudgetKind
Sourcepub const fn analysis_incomplete(self) -> bool
pub const fn analysis_incomplete(self) -> bool
Whether exhausting this budget makes the overall analysis incomplete. Required-property combination exhaustion only truncates a diagnostic’s explanation; it does not affect whether the finding is emitted.
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Lower camelCase string representation for stable machine consumption.
Sourcepub const fn description(self) -> &'static str
pub const fn description(self) -> &'static str
Human-readable explanation of the exhausted budget. This prose may evolve;
integrations should use as_str as the stable identifier.
Trait Implementations§
Source§impl Clone for BudgetKind
impl Clone for BudgetKind
impl Copy for BudgetKind
Source§impl Debug for BudgetKind
impl Debug for BudgetKind
impl Eq for BudgetKind
Source§impl Hash for BudgetKind
impl Hash for BudgetKind
Source§impl Ord for BudgetKind
impl Ord for BudgetKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for BudgetKind
impl PartialEq for BudgetKind
Source§impl PartialOrd for BudgetKind
impl PartialOrd for BudgetKind
impl StructuralPartialEq for BudgetKind
Auto Trait Implementations§
impl Freeze for BudgetKind
impl RefUnwindSafe for BudgetKind
impl Send for BudgetKind
impl Sync for BudgetKind
impl Unpin for BudgetKind
impl UnsafeUnpin for BudgetKind
impl UnwindSafe for BudgetKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.