(&mut self, phase: i32)
| 75 | } |
| 76 | |
| 77 | pub fn set_phase(&mut self, phase: i32) { |
| 78 | self.status.get_or_insert_with(SandboxStatus::default).phase = phase; |
| 79 | } |
| 80 | |
| 81 | pub fn current_policy_version(&self) -> u32 { |
| 82 | self.status.as_ref().map_or(0, |s| s.current_policy_version) |
no outgoing calls