pub struct DecomposeResult {
pub subtasks: Vec<Subtask>,
pub levels: Vec<Vec<String>>,
pub prefer_single_session: bool,
pub attempts: u32,
pub issues: Vec<String>,
}Expand description
Outcome of decomposing a goal.
Fields§
§subtasks: Vec<Subtask>Footprint-annotated subtasks (empty if no valid plan was produced).
levels: Vec<Vec<String>>The scheduled levels (subtask ids) the footprint analyzer produced.
prefer_single_session: booltrue when farming out buys no parallel speedup (≤1 subtask, or every
level is a single subtask). Advisory only — a serialized multi-subtask
plan can still be worth farming out (context isolation, per-subtask model
choice, checkpointing), so the caller may override.
attempts: u32§issues: Vec<String>Parse / decomposition issues from the final attempt (empty on success).
Implementations§
Trait Implementations§
Source§impl Debug for DecomposeResult
impl Debug for DecomposeResult
Source§impl From<&DecomposeResult> for PlanReport
impl From<&DecomposeResult> for PlanReport
Source§fn from(r: &DecomposeResult) -> Self
fn from(r: &DecomposeResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecomposeResult
impl RefUnwindSafe for DecomposeResult
impl Send for DecomposeResult
impl Sync for DecomposeResult
impl Unpin for DecomposeResult
impl UnsafeUnpin for DecomposeResult
impl UnwindSafe for DecomposeResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
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