pub struct Job {
pub program: OsString,
pub args: Vec<OsString>,
pub network: bool,
pub timeout: Duration,
pub layer: Layer,
pub env: Vec<(String, OsString)>,
pub big_memory: bool,
}Expand description
One sandboxed invocation (what an env::EnvProvider hands its env::Runner).
Fields§
§program: OsString§args: Vec<OsString>§network: bool§timeout: Duration§layer: LayerPATH entries, variables and sandbox access on top of the clean environment.
env: Vec<(String, OsString)>Variables set last (after the layer’s).
big_memory: boolNo address-space limit: package managers (pixi) map far more than they use.
Implementations§
Auto Trait Implementations§
impl Forget for Job
impl Freeze for Job
impl Move for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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