pub struct StudyPlan { /* private fields */ }Expand description
A complete immutable and effect-free execution declaration.
Implementations§
Source§impl StudyPlan
impl StudyPlan
Sourcepub fn load(project_root: &Path) -> Result<Self, StudyError>
pub fn load(project_root: &Path) -> Result<Self, StudyError>
Loads project declarations and binds all linked #[execution_unit] registrations.
This performs complete preflight without creating output or initializing an execution unit. Config is the only file reader and JSON parser.
Sourcepub fn project_root(&self) -> &Path
pub fn project_root(&self) -> &Path
Returns the canonical project root loaded by config.
Sourcepub fn output_root(&self) -> &Path
pub fn output_root(&self) -> &Path
Returns the planned disposable workspace execution root; authoritative data uses run artifacts.
Sourcepub fn plan_summary(&self) -> PlanSummary<'_>
pub fn plan_summary(&self) -> PlanSummary<'_>
Returns a read-only view of the fully compiled deterministic plan.
The view borrows this StudyPlan and exposes planning facts only. It does not expose constants payloads, executable task handles, or mutable policy.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StudyPlan
impl !UnwindSafe for StudyPlan
impl Forget for StudyPlan
impl Freeze for StudyPlan
impl Move for StudyPlan
impl Send for StudyPlan
impl Sync for StudyPlan
impl Unpin for StudyPlan
impl UnsafeUnpin for StudyPlanwhere
*const ArcInner<StudyInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<StudyInner>>: UnsafeUnpin,
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