Set the active (in-progress) step shown on the spinner.
(&mut self, label: &str)
| 330 | |
| 331 | /// Set the active (in-progress) step shown on the spinner. |
| 332 | fn set_active(&mut self, label: &str) { |
| 333 | self.active_label = label.to_string(); |
| 334 | self.active_detail.clear(); |
| 335 | // Reset the spinner's elapsed time for the new step. |
| 336 | self.spinner.reset_elapsed(); |
| 337 | self.step_start = Instant::now(); |
| 338 | self.update_spinner(); |
| 339 | } |
| 340 | |
| 341 | /// Set the active step from a known provisioning step enum. |
| 342 | fn set_active_step(&mut self, step: ProvisioningStep) { |
no test coverage detected