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 EnvPlanwhere
*const u8 is !null: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<(OsString, OsString)>: Freeze,
impl Move for EnvPlan
impl RefUnwindSafe for EnvPlan
impl Send for EnvPlanwhere
RawVecInner: Send,
impl Sync for EnvPlanwhere
RawVecInner: Sync,
impl Unpin for EnvPlan
impl UnsafeUnpin for EnvPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<(OsString, OsString)>: UnsafeUnpin,
impl UnwindSafe for EnvPlanwhere
RawVecInner: UnwindSafe,
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