pub struct RunContext {Show 19 fields
pub run_dir: Arc<RunDir>,
pub replay_source_run_dir: Option<PathBuf>,
pub graph_fingerprint: Arc<Mutex<HashMap<String, String>>>,
pub node_definition_fingerprints: Arc<HashMap<String, String>>,
pub declared_environment_fingerprints: Arc<HashMap<String, String>>,
pub params_fingerprints: Arc<HashMap<String, String>>,
pub command_fingerprints: Arc<HashMap<String, Option<String>>>,
pub planner_contract_version: String,
pub execution_fingerprint: String,
pub evidence_fingerprint: String,
pub execution_contract_fingerprint: String,
pub resolved_params: HashMap<String, Value>,
pub effective_cache_dir: Option<PathBuf>,
pub fs: Arc<dyn Fs>,
pub clock: Arc<dyn Clock>,
pub store: ArtifactStore,
pub policy: PolicyConfig,
pub absolute_path_policy: AbsolutePathPolicy,
pub cancellation_requested: Arc<AtomicBool>,
}Expand description
Execution-scoped state shared across node adapter invocations for one run.
Fields§
§run_dir: Arc<RunDir>§replay_source_run_dir: Option<PathBuf>§graph_fingerprint: Arc<Mutex<HashMap<String, String>>>§node_definition_fingerprints: Arc<HashMap<String, String>>§declared_environment_fingerprints: Arc<HashMap<String, String>>§params_fingerprints: Arc<HashMap<String, String>>§command_fingerprints: Arc<HashMap<String, Option<String>>>§planner_contract_version: String§execution_fingerprint: String§evidence_fingerprint: String§execution_contract_fingerprint: String§resolved_params: HashMap<String, Value>§effective_cache_dir: Option<PathBuf>§fs: Arc<dyn Fs>§clock: Arc<dyn Clock>§store: ArtifactStore§policy: PolicyConfig§absolute_path_policy: AbsolutePathPolicy§cancellation_requested: Arc<AtomicBool>Auto Trait Implementations§
impl !RefUnwindSafe for RunContext
impl !UnwindSafe for RunContext
impl Freeze for RunContext
impl Send for RunContext
impl Sync for RunContext
impl Unpin for RunContext
impl UnsafeUnpin 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