pub enum ReplanAction {
Advance,
Retry,
Replan,
Done,
GiveUp,
}Expand description
What the loop should do next, decided purely from the step outcome and the retry/replan budget consumed so far.
Variants§
Advance
Step succeeded: mark it Done and move to the next step.
Retry
Retry the same step (a bounded number of times) before escalating.
Replan
Ask the planner to revise the remaining steps (the page diverged or the step exhausted its retries).
Done
Stop: the whole task succeeded (no steps remain).
GiveUp
Stop: out of retry/replan budget — give up with the plan as-is.
Trait Implementations§
Source§impl Clone for ReplanAction
impl Clone for ReplanAction
Source§fn clone(&self) -> ReplanAction
fn clone(&self) -> ReplanAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReplanAction
Source§impl Debug for ReplanAction
impl Debug for ReplanAction
impl Eq for ReplanAction
Source§impl PartialEq for ReplanAction
impl PartialEq for ReplanAction
Source§fn eq(&self, other: &ReplanAction) -> bool
fn eq(&self, other: &ReplanAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplanAction
Auto Trait Implementations§
impl Freeze for ReplanAction
impl RefUnwindSafe for ReplanAction
impl Send for ReplanAction
impl Sync for ReplanAction
impl Unpin for ReplanAction
impl UnsafeUnpin for ReplanAction
impl UnwindSafe for ReplanAction
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
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
Compare self to
key and return true if they are equal.