pub struct RunContext {
pub skill_dir: PathBuf,
pub skill_name: String,
pub skill_subdir: PathBuf,
pub sibling_skill_names: Vec<String>,
pub stage_siblings: bool,
pub workspace_root: PathBuf,
pub stage_root: PathBuf,
pub bootstrap_path: Option<PathBuf>,
pub harness: Harness,
}Expand description
The resolved environment for a run: validated skill location, sibling skills,
workspace/stage roots, optional bootstrap file, and the target harness. Built
by detect_run_context; held in memory and never (de)serialized.
Fields§
§skill_dir: PathBuf§skill_name: String§skill_subdir: PathBuf§sibling_skill_names: Vec<String>§stage_siblings: bool§workspace_root: PathBuf§stage_root: PathBuf§bootstrap_path: Option<PathBuf>§harness: HarnessTrait Implementations§
Source§impl Clone for RunContext
impl Clone for RunContext
Source§fn clone(&self) -> RunContext
fn clone(&self) -> RunContext
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 RunContext
impl Debug for RunContext
impl Eq for RunContext
Source§impl PartialEq for RunContext
impl PartialEq for RunContext
impl StructuralPartialEq for RunContext
Auto Trait Implementations§
impl Freeze for RunContext
impl RefUnwindSafe for RunContext
impl Send for RunContext
impl Sync for RunContext
impl Unpin for RunContext
impl UnsafeUnpin for RunContext
impl UnwindSafe for RunContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.