pub struct ExecEnv {
pub program: PathBuf,
pub args: Vec<String>,
pub cwd: PathBuf,
pub env: HashMap<String, String>,
pub expiration: ExecExpiration,
pub sandbox_active: bool,
pub sandbox_type: SandboxType,
}Expand description
The prepared execution environment after sandbox transformation.
Fields§
§program: PathBufThe program to execute (may be wrapped).
args: Vec<String>Arguments to the program (may include sandbox wrapper args).
cwd: PathBufWorking directory.
env: HashMap<String, String>Environment variables.
expiration: ExecExpirationExpiration mechanism.
sandbox_active: boolWhether the sandbox is active.
sandbox_type: SandboxTypeType of sandbox applied.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecEnv
impl RefUnwindSafe for ExecEnv
impl Send for ExecEnv
impl Sync for ExecEnv
impl Unpin for ExecEnv
impl UnsafeUnpin for ExecEnv
impl UnwindSafe for ExecEnv
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