(&self)
| 1085 | } |
| 1086 | |
| 1087 | async fn pending_snapshot_map(&self) -> HashMap<String, DriverSandbox> { |
| 1088 | let pending = self.pending.lock().await; |
| 1089 | pending |
| 1090 | .iter() |
| 1091 | .map(|(sandbox_id, record)| (sandbox_id.clone(), record.sandbox.clone())) |
| 1092 | .collect() |
| 1093 | } |
| 1094 | |
| 1095 | async fn clear_pending_sandbox(&self, sandbox_id: &str) { |
| 1096 | let mut pending = self.pending.lock().await; |