pub struct ProcessEnv;Expand description
The live process environment.
Every lookup reads through to std::env::var, so a variable changed after
this value was created is visible to the next lookup. This is the
environment a Terminal uses when built over
process stdio or the controlling terminal.
Two things follow from going through std::env::var, and neither is true
of EnvList: a value that is not valid Unicode reads as absent rather
than panicking, and on Windows names match case-insensitively.
Trait Implementations§
Source§impl Clone for ProcessEnv
impl Clone for ProcessEnv
impl Copy for ProcessEnv
Source§impl Debug for ProcessEnv
impl Debug for ProcessEnv
Source§impl Default for ProcessEnv
impl Default for ProcessEnv
Auto Trait Implementations§
impl Freeze for ProcessEnv
impl RefUnwindSafe for ProcessEnv
impl Send for ProcessEnv
impl Sync for ProcessEnv
impl Unpin for ProcessEnv
impl UnsafeUnpin for ProcessEnv
impl UnwindSafe for ProcessEnv
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