pub enum ParseOutcome {
Actions(Vec<Action>),
Empty,
Incomplete,
Malformed,
}Expand description
The four-state verdict of parse (D4+OV-7).
Variants§
Actions(Vec<Action>)
This turn’s output is one or more backend-format actions.
Empty
Nothing actionable — the loop’s old empty branch (nudge).
Incomplete
Truncation salvage ran and the turn is still incomplete — the loop’s nudge-retry branch.
Malformed
Structural anomaly after salvage — the loop’s old anomaly branch (existing breaker / salvage semantics).
Implementations§
Source§impl ParseOutcome
impl ParseOutcome
Sourcepub fn has_action_intent(&self) -> bool
pub fn has_action_intent(&self) -> bool
True when this turn’s output is action work (materialized or not): such turns are never text-nudged or text-pushed.
Trait Implementations§
Source§impl Clone for ParseOutcome
impl Clone for ParseOutcome
Source§impl Debug for ParseOutcome
impl Debug for ParseOutcome
Source§impl PartialEq for ParseOutcome
impl PartialEq for ParseOutcome
impl StructuralPartialEq for ParseOutcome
Auto Trait Implementations§
impl Freeze for ParseOutcome
impl RefUnwindSafe for ParseOutcome
impl Send for ParseOutcome
impl Sync for ParseOutcome
impl Unpin for ParseOutcome
impl UnsafeUnpin for ParseOutcome
impl UnwindSafe for ParseOutcome
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
Mutably borrows from an owned value. Read more