pub struct EnvVarGuard { /* private fields */ }
Expand description
Environment variable guard that restores the original value when dropped
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvVarGuard
impl RefUnwindSafe for EnvVarGuard
impl Send for EnvVarGuard
impl Sync for EnvVarGuard
impl Unpin for EnvVarGuard
impl UnwindSafe for EnvVarGuard
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