pub struct PushEnv<'a> { /* private fields */ }Expand description
RAII guard returned from Shell::push_env.
Dropping PushEnv restores the old value of the environmental variable.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PushEnv<'a>
impl<'a> RefUnwindSafe for PushEnv<'a>
impl<'a> !Send for PushEnv<'a>
impl<'a> !Sync for PushEnv<'a>
impl<'a> Unpin for PushEnv<'a>
impl<'a> UnwindSafe for PushEnv<'a>
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