pub enum PlanDelta {
Add(Vec<Job>),
Done,
}Expand description
What a crate::orchestrator::Planner returns when asked to (re)plan: either more
Jobs to merge into the DAG, or “the goal is done”.
Variants§
Add(Vec<Job>)
Merge these Jobs into the running DAG (the dynamic-replanning edge).
Done
No more work — the orchestrator can finish once in-flight Jobs drain.
Trait Implementations§
Auto Trait Implementations§
impl Forget for PlanDelta
impl Freeze for PlanDelta
impl RefUnwindSafe for PlanDelta
impl Send for PlanDelta
impl Sync for PlanDelta
impl Unpin for PlanDelta
impl UnsafeUnpin for PlanDelta
impl UnwindSafe for PlanDelta
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