Record what syncpack has determined the state of this instance is and what its expected specifier should be
(&self, state: InstanceState, expected_specifier: &Rc<Specifier>)
| 214 | /// Record what syncpack has determined the state of this instance is and what |
| 215 | /// its expected specifier should be |
| 216 | fn set_state(&self, state: InstanceState, expected_specifier: &Rc<Specifier>) -> &Self { |
| 217 | *self.state.borrow_mut() = state; |
| 218 | *self.expected_specifier.borrow_mut() = Some(Rc::clone(expected_specifier)); |
| 219 | self |
| 220 | } |
| 221 | |
| 222 | /// Mark this instance as already having a valid specifier |
| 223 | pub fn mark_valid(&self, state: ValidInstance, expected_specifier: &Rc<Specifier>) -> &Self { |
no outgoing calls
no test coverage detected