pub struct DrainReport {
pub ran: Vec<String>,
pub skipped: Vec<String>,
pub parked: Vec<String>,
pub stopped_busy: bool,
pub expected_mismatch: Option<String>,
}Expand description
Outcome of a drain_queue call: the mission ids that ran to a terminal
state vs. those skipped because a blocker failed.
Fields§
§ran: Vec<String>§skipped: Vec<String>§parked: Vec<String>Claimed then parked because backend readiness failed hard (ticket
marked TicketState::Parked with a readiness note when linked).
stopped_busy: boolonce stopped the drain while the repo was busy with another mission
(nothing here was claimed or run). Callers that restore their own git
checkout on exit must NOT do so when this is set — the repo is still
mid-mission under a sibling dispatcher, and switching branches out
from under it would corrupt that run’s working tree.
expected_mismatch: Option<String>An expectation-guarded one-shot drain found a different mission at the front. The claim was released without readiness probing or run.
Trait Implementations§
Source§impl Clone for DrainReport
impl Clone for DrainReport
Source§fn clone(&self) -> DrainReport
fn clone(&self) -> DrainReport
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 moreSource§impl Debug for DrainReport
impl Debug for DrainReport
Source§impl Default for DrainReport
impl Default for DrainReport
Source§fn default() -> DrainReport
fn default() -> DrainReport
Returns the “default value” for a type. Read more
impl Eq for DrainReport
Source§impl PartialEq for DrainReport
impl PartialEq for DrainReport
impl StructuralPartialEq for DrainReport
Auto Trait Implementations§
impl Freeze for DrainReport
impl RefUnwindSafe for DrainReport
impl Send for DrainReport
impl Sync for DrainReport
impl Unpin for DrainReport
impl UnsafeUnpin for DrainReport
impl UnwindSafe for DrainReport
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