pub fn pause(&mut self) {
        if self.phase == Running {
            self.time_paused_at = self.current_time().real_time.unwrap();
            self.phase = Paused;

            // FIXME: OnPause
        }
    }
/// Pauses an active attempt that is not paused.
Pauses an active attempt that is not paused.
Pauses an active attempt that is not paused .
pub fn pause(&mut self) {
        if self.phase == Running {
            self.time_paused_at = self.current_time().real_time.unwrap();
            self.phase = Paused;
            // FIXME: OnPause
        }
    }
pub fn pause ( & mut self ) { if self . phase == Running { self . time_paused_at = self . current_time ( ) . real_time . unwrap ( ) ; self . phase = Paused ; // FIXME: OnPause } }
Pauses an active attempt that is not paused.
Pauses an active attempt that is not paused .
&mut self
&mut self