pub fn reset_state(&mut self, state: StateType) {
        self.probe_sent = false;
        self.pending_snapshot = 0;
        self.state = state;
        self.inflights.reset();
    }
// ResetState moves that Progress into the specified State, resetting ProbeSent,
// PendingSnapshot, and inflight
ResetState moves that Progress into the specified State, resetting ProbeSent,
PendingSnapshot, and inflight
ResetState moves that Progress into the specified State resetting ProbeSent PendingSnapshot and inflight
pub fn reset_state(&mut self, state: StateType) {
        self.probe_sent = false;
        self.pending_snapshot = 0;
        self.state = state;
        self.inflights.reset();
    }
pub fn reset_state ( & mut self , state : StateType ) { self . probe_sent = false ; self . pending_snapshot = 0 ; self . state = state ; self . inflights . reset ( ) ; }
ResetState moves that Progress into the specified State, resetting ProbeSent,
PendingSnapshot, and inflight
ResetState moves that Progress into the specified State resetting ProbeSent PendingSnapshot and inflight
&mut self
state
StateType