pub enum EnvPlan {
Remove(Vec<OsString>),
Replace(Vec<(OsString, OsString)>),
}Expand description
What SubprocessEnv::resolve decides to do to the environment a child
would otherwise inherit.
Variants§
Remove(Vec<OsString>)
Inherit it, minus these.
Replace(Vec<(OsString, OsString)>)
Start from nothing but these.
Trait Implementations§
impl Eq for EnvPlan
impl StructuralPartialEq for EnvPlan
Auto Trait Implementations§
impl Forget for EnvPlan
impl Freeze for EnvPlan
impl Move for EnvPlan
impl RefUnwindSafe for EnvPlan
impl Send for EnvPlan
impl Sync for EnvPlan
impl Unpin for EnvPlan
impl UnsafeUnpin for EnvPlan
impl UnwindSafe for EnvPlan
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