pub struct Outcome {
pub plan: Plan,
pub waiting: Vec<(String, usize)>,
pub refused: Vec<String>,
pub ran: bool,
pub landed: Vec<String>,
}Expand description
What a pass did and where it stopped.
Fields§
§plan: PlanThe agent runs the next pass would make, priced. Empty when no agent node is ready.
waiting: Vec<(String, usize)>Nodes holding units that cannot move yet, with how many: a check waiting on the world, and every node after it.
refused: Vec<String>Units a node refused this pass, each with its reason.
ran: boolWhether an approved plan ran.
landed: Vec<String>Each edit of a local instance: applied to its clone, or discarded.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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