pub enum EnvScope {
Session,
Minimal,
}Expand description
How much of the environment a process starts from: a mark on a
ProcessSpec a provider reads, not a list of
variables, since a remote provider’s environment is not this machine’s.
Variants§
Session
What sandbox.env gives every child.
Minimal
Only what a shell needs to run: PATH HOME USER LOGNAME SHELL TERM LANG LC_* TZ TMPDIR. sandbox.env.allow adds nothing to
it.
Implementations§
Trait Implementations§
impl Copy for EnvScope
impl Eq for EnvScope
impl StructuralPartialEq for EnvScope
Auto Trait Implementations§
impl Forget for EnvScope
impl Freeze for EnvScope
impl Move for EnvScope
impl RefUnwindSafe for EnvScope
impl Send for EnvScope
impl Sync for EnvScope
impl Unpin for EnvScope
impl UnsafeUnpin for EnvScope
impl UnwindSafe for EnvScope
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