Mark this instance as having something which doesn't look quite right, but for the moment is not yet resulting in an issue
(&self, state: SuspectInstance)
| 227 | /// Mark this instance as having something which doesn't look quite right, but |
| 228 | /// for the moment is not yet resulting in an issue |
| 229 | pub fn mark_suspect(&self, state: SuspectInstance) -> &Self { |
| 230 | let specifier = Rc::clone(&self.descriptor.specifier); |
| 231 | self.set_state(InstanceState::Suspect(state), &specifier) |
| 232 | } |
| 233 | |
| 234 | /// Like `mark_suspect` but records an expected specifier so a user can opt |
| 235 | /// into routing the instance through the fix path via `severity: { ...: "fix" }`. |