pub enum EnvChange {
SetEnvVar(OsString, OsString),
SetShellVar(OsString, OsString),
UnsetVar(OsString),
Cd(PathBuf),
SetOption(ShellOptions, bool),
}Variants§
SetEnvVar(OsString, OsString)
SetShellVar(OsString, OsString)
UnsetVar(OsString)
Cd(PathBuf)
SetOption(ShellOptions, bool)
Trait Implementations§
impl Eq for EnvChange
impl StructuralPartialEq for EnvChange
Auto Trait Implementations§
impl Freeze for EnvChange
impl RefUnwindSafe for EnvChange
impl Send for EnvChange
impl Sync for EnvChange
impl Unpin for EnvChange
impl UnsafeUnpin for EnvChange
impl UnwindSafe for EnvChange
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<T> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.