Mark this instance as a mismatch which can't be auto-fixed without user input
(&self, state: UnfixableInstance)
| 255 | /// Mark this instance as a mismatch which can't be auto-fixed without user |
| 256 | /// input |
| 257 | pub fn mark_unfixable(&self, state: UnfixableInstance) -> &Self { |
| 258 | let specifier = Rc::clone(&self.descriptor.specifier); |
| 259 | self.set_state(InstanceState::Invalid(InvalidInstance::Unfixable(state)), &specifier) |
| 260 | } |
| 261 | |
| 262 | pub fn is_valid(&self) -> bool { |
| 263 | self.state.borrow().is_valid() |