pub enum EnvironmentOverride {
Set(OsString),
Remove,
}Expand description
An explicit change to one environment variable.
Variants§
Set(OsString)
Set the variable to the given value.
Remove
Remove the variable from the final environment.
Trait Implementations§
Source§impl Clone for EnvironmentOverride
impl Clone for EnvironmentOverride
Source§impl Debug for EnvironmentOverride
impl Debug for EnvironmentOverride
impl Eq for EnvironmentOverride
Source§impl PartialEq for EnvironmentOverride
impl PartialEq for EnvironmentOverride
impl StructuralPartialEq for EnvironmentOverride
Auto Trait Implementations§
impl Freeze for EnvironmentOverride
impl RefUnwindSafe for EnvironmentOverride
impl Send for EnvironmentOverride
impl Sync for EnvironmentOverride
impl Unpin for EnvironmentOverride
impl UnsafeUnpin for EnvironmentOverride
impl UnwindSafe for EnvironmentOverride
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