(&mut self)
| 134 | |
| 135 | impl Drop for GlobalDbEnvGuard { |
| 136 | fn drop(&mut self) { |
| 137 | match self.previous.take() { |
| 138 | Some(value) => std::env::set_var("TRACEDECAY_GLOBAL_DB", value), |
| 139 | None => std::env::remove_var("TRACEDECAY_GLOBAL_DB"), |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | struct HomeEnvGuard { |
nothing calls this directly
no test coverage detected