pub enum FrontierRunDecline {
RearrivalBudget,
TableBudget,
ShortCap,
}Expand description
The frontier rung’s run-time declines (ADR-0516): the reasons a rung
that engaged and ran still falls through, typed so the PROFILE record
names the one that kept the DFS. The plan-time gates’ own
vocabulary (FrontierDecline) is the other half of the record’s
FrontierDeclineReason — every one of those decides before a
single walk. The rider wiring records it and the metric record
carries it. The variants below are the vocabulary’s single source
(the macro derives ALL and as_str from them); a later run-time
decline adds its variant and its wire name there.
Variants§
RearrivalBudget
The re-arrival rule’s shared work budget cut a search — the
endpoint set is unproven, so the run’s buffered rows are
discarded and the clause falls through to the next rung
unchanged (the DFS answers these shapes exactly). Constructed on
the production decline path — the run’s outcome carries it
(frontier::RunOutcome::Declined) and the rider wiring records
it for the PROFILE record.
TableBudget
The run’s sparse tables — sized by the (node, state) pairs it
touched, never by the store’s node-id span — plus the re-arrival
rule’s buffers crossed the allocation ceiling
(FRONTIER_TABLE_BUDGET, ADR-0521) at a level boundary. A
run-time decline like Self::RearrivalBudget — the rung ran, so
its counters stay recorded beside the reason — never a compile
gate: the run’s buffered rows are discarded and the DFS, with its
own caps, answers the clause.
ShortCap
The capped emission ended with at least one accepted witness but
fewer than the cap, and never halted on it — the BFS answers one
witness per reached (seed, endpoint) pair, so an unfilled cap is
the pair-level answer to a full-enumeration question and drops
every further path to a reached pair. The rung ran
(frontier_emit), so its counters stay recorded; its buffered
rows are discarded and the clause falls through to the walker,
whose cap rider emits exactly min(want, paths) rows (ADR-0475).
A run set that accepted no witness is exempt: it is the exact
empty answer and is served without a decline.
Implementations§
Source§impl FrontierRunDecline
impl FrontierRunDecline
Sourcepub const ALL: [FrontierRunDecline; 3]
pub const ALL: [FrontierRunDecline; 3]
Every decline of this vocabulary, in declaration order —
the parity pin’s iteration source against the wire table
(plan_keys::DECLINE_REASONS).
Trait Implementations§
Source§impl Clone for FrontierRunDecline
impl Clone for FrontierRunDecline
impl Copy for FrontierRunDecline
Source§impl Debug for FrontierRunDecline
impl Debug for FrontierRunDecline
impl Eq for FrontierRunDecline
Source§impl From<FrontierRunDecline> for FrontierDeclineReason
impl From<FrontierRunDecline> for FrontierDeclineReason
Source§fn from(decline: FrontierRunDecline) -> Self
fn from(decline: FrontierRunDecline) -> Self
Source§impl PartialEq for FrontierRunDecline
impl PartialEq for FrontierRunDecline
impl StructuralPartialEq for FrontierRunDecline
Auto Trait Implementations§
impl Forget for FrontierRunDecline
impl Freeze for FrontierRunDecline
impl Move for FrontierRunDecline
impl RefUnwindSafe for FrontierRunDecline
impl Send for FrontierRunDecline
impl Sync for FrontierRunDecline
impl Unpin for FrontierRunDecline
impl UnsafeUnpin for FrontierRunDecline
impl UnwindSafe for FrontierRunDecline
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.