Human-readable label for a completed step.
(self)
| 224 | impl ProvisioningStep { |
| 225 | /// Human-readable label for a completed step. |
| 226 | fn completed_label(self) -> &'static str { |
| 227 | match self { |
| 228 | Self::RequestingSandbox => "Sandbox allocated", |
| 229 | Self::PullingSandboxImage => "Image pulled", |
| 230 | Self::StartingSandbox => "Sandbox ready", |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | /// Human-readable label for an in-progress step (shown on the spinner). |
| 235 | fn active_label(self) -> &'static str { |
no outgoing calls
no test coverage detected