pub struct SwarmProgress {
pub current_wave: usize,
pub total_waves: usize,
pub tasks_completed: usize,
pub tasks_total: usize,
pub tasks_in_progress: usize,
pub tasks_failed: usize,
pub waves_validated: usize,
pub waves_failed_validation: usize,
pub total_repairs: usize,
}Expand description
Progress tracking for swarm execution
Provides a consolidated view of swarm progress including:
- Current/total waves
- Task completion counts
- Validation status
Fields§
§current_wave: usizeCurrent wave number being executed (1-indexed, 0 if not started)
total_waves: usizeTotal number of waves in the execution plan
tasks_completed: usizeNumber of tasks completed successfully (status = Done)
tasks_total: usizeTotal number of tasks in the swarm
tasks_in_progress: usizeNumber of tasks currently in progress
tasks_failed: usizeNumber of tasks that failed or are blocked
waves_validated: usizeNumber of waves that have passed validation
waves_failed_validation: usizeNumber of waves that failed validation
total_repairs: usizeTotal repair attempts across all waves
Trait Implementations§
Source§impl Clone for SwarmProgress
impl Clone for SwarmProgress
Source§fn clone(&self) -> SwarmProgress
fn clone(&self) -> SwarmProgress
Returns a duplicate of the value. Read more
1.0.0 · 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 SwarmProgress
impl Debug for SwarmProgress
Source§impl Default for SwarmProgress
impl Default for SwarmProgress
Source§fn default() -> SwarmProgress
fn default() -> SwarmProgress
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SwarmProgress
impl RefUnwindSafe for SwarmProgress
impl Send for SwarmProgress
impl Sync for SwarmProgress
impl Unpin for SwarmProgress
impl UnwindSafe for SwarmProgress
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more