pub struct TestEnvGuard { /* private fields */ }Implementations§
Source§impl TestEnvGuard
impl TestEnvGuard
pub fn set(key: &'static str, value: &str) -> TestEnvGuard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestEnvGuard
impl RefUnwindSafe for TestEnvGuard
impl Send for TestEnvGuard
impl Sync for TestEnvGuard
impl Unpin for TestEnvGuard
impl UnwindSafe for TestEnvGuard
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