Stable observability class for this remediation (RFC §13 Phase 13 task 5). Codes are fixed; they never carry repository paths or observation payloads.
(&self)
| 638 | /// task 5). Codes are fixed; they never carry repository paths or |
| 639 | /// observation payloads. |
| 640 | pub fn code(&self) -> &'static str { |
| 641 | match self { |
| 642 | Self::GitOperationInProgress { .. } => "git_operation_in_progress", |
| 643 | Self::Unanchored { .. } => "unanchored", |
| 644 | Self::OperationHeadsDiverged { .. } => "operation_heads_diverged", |
| 645 | Self::ConcurrentGitMutation { .. } => "concurrent_git_mutation", |
| 646 | Self::GitLocksBusy { .. } => "git_locks_busy", |
| 647 | } |
| 648 | } |
| 649 | |
| 650 | /// Stable observability code for the transaction mode this remediation |
| 651 | /// was produced under, when the variant carries one. |
no outgoing calls