Returns the check identifier.
(&self)
| 603 | |
| 604 | /// Returns the check identifier. |
| 605 | pub fn id(&self) -> &str { |
| 606 | match self { |
| 607 | Self::ChainId { id, .. } |
| 608 | | Self::HeadProgress { id, .. } |
| 609 | | Self::HeadsConverge { id, .. } |
| 610 | | Self::SafeHeadProgress { id, .. } |
| 611 | | Self::HeadFresh { id, .. } |
| 612 | | Self::HeadsHealthy { id, .. } => id, |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | /// Returns the check kind. |
| 617 | pub const fn kind(&self) -> &'static str { |
no outgoing calls