pub struct ProgressInfo {
pub step: u64,
pub total: u64,
pub message: Option<String>,
}Expand description
Structured progress information reported by strategies via alc.progress().
Stored in SessionStatus and readable via alc_status MCP tool.
Not all strategies report progress — this is opt-in for strategies
that benefit from structured step tracking (e.g. multi-round pipelines).
Fields§
§step: u64Current step (1-based).
total: u64Total expected steps (0 = unknown/indeterminate).
message: Option<String>Optional human-readable message for the current step.
Trait Implementations§
Source§impl Clone for ProgressInfo
impl Clone for ProgressInfo
Source§fn clone(&self) -> ProgressInfo
fn clone(&self) -> ProgressInfo
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 ProgressInfo
impl Debug for ProgressInfo
Auto Trait Implementations§
impl Freeze for ProgressInfo
impl RefUnwindSafe for ProgressInfo
impl Send for ProgressInfo
impl Sync for ProgressInfo
impl Unpin for ProgressInfo
impl UnsafeUnpin for ProgressInfo
impl UnwindSafe for ProgressInfo
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