Clear inner state during a disruption event
(&mut self)
| 61 | // then we'll maintain the same `selected_at` and `selected_at_clock_error_bound` |
| 62 | // values. |
| 63 | if current.source_info.same_source(&source_info) { |
| 64 | (current.selected_at, current.selected_at_clock_error_bound) |
| 65 | } else { |
| 66 | (clock_parameters.time, clock_parameters.clock_error_bound) |
| 67 | }; |
| 68 | self.current = Some(SyncParameters { |
| 69 | clock_parameters: clock_parameters.clone(), |
| 70 | source_info, |
| 71 | selected_at, |
| 72 | selected_at_clock_error_bound: selected_clock_error_bound, |
no outgoing calls