pub enum EnvFix {
Set(OsString, OsString),
Remove(OsString),
}Expand description
One change that gives a child the computer’s own environment back.
Variants§
Set(OsString, OsString)
Set the variable to this value (the original without the bundle’s entries).
Remove(OsString)
Remove the variable (it only pointed into the bundle).
Implementations§
Trait Implementations§
impl Eq for EnvFix
impl StructuralPartialEq for EnvFix
Auto Trait Implementations§
impl Forget for EnvFix
impl Freeze for EnvFix
impl Move for EnvFix
impl RefUnwindSafe for EnvFix
impl Send for EnvFix
impl Sync for EnvFix
impl Unpin for EnvFix
impl UnsafeUnpin for EnvFix
impl UnwindSafe for EnvFix
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.