pub struct ExecSetup {
pub workdir: PathBuf,
pub mounts: Vec<Mount>,
pub python_wasm: Option<PathBuf>,
pub shell: Shell,
pub fuel: Fuel,
pub env_passthrough: Vec<EnvVarName>,
pub domain: Address,
pub run: RunId,
pub policy: PolicyReader,
}Expand description
What one run’s execution boundary is made of.
Values that always travel together and are never chosen apart: read
out of one frozen configuration, one machine and one dispatch, they
reach this tool as one thing rather than as a parameter list nobody
can call correctly from memory. policy is the run’s cell (§8-55, §8-62).
Fields§
§workdir: PathBuf§mounts: Vec<Mount>§python_wasm: Option<PathBuf>§shell: Shell§fuel: Fuel§env_passthrough: Vec<EnvVarName>The names this building declared its children may inherit, on top
of [ENV_ALLOWLIST].
domain: Address§run: RunIdThe run this tool serves: a command it hands to the background is owed to this run, and its output reaches no other.
policy: PolicyReaderAuto Trait Implementations§
impl Freeze for ExecSetup
impl RefUnwindSafe for ExecSetup
impl Send for ExecSetup
impl Sync for ExecSetup
impl Unpin for ExecSetup
impl UnsafeUnpin for ExecSetup
impl UnwindSafe for ExecSetup
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