(&self)
| 71 | |
| 72 | impl Sandbox { |
| 73 | pub fn phase(&self) -> i32 { |
| 74 | self.status.as_ref().map_or(0, |s| s.phase) |
| 75 | } |
| 76 | |
| 77 | pub fn set_phase(&mut self, phase: i32) { |
| 78 | self.status.get_or_insert_with(SandboxStatus::default).phase = phase; |
no outgoing calls
no test coverage detected