pub fn parse_and_set_attempt_count<S>(&mut self, attempts: S) -> Result<(), ParseIntError>
    where
        S: AsRef<str>,
    {
        self.set_attempt_count(attempts.as_ref().parse()?);
        Ok(())
    }
/// Parses and sets the attempt count from the string provided. Changing
/// this has no affect on the attempt history or the segment history. This
/// number is mostly just a visual number for the runner.
Parses and sets the attempt count from the string provided. Changing
this has no affect on the attempt history or the segment history. This
number is mostly just a visual number for the runner.
Parses and sets the attempt count from the string provided . Changing this has no affect on the attempt history or the segment history . This number is mostly just a visual number for the runner .
pub fn parse_and_set_attempt_count<S>(&mut self, attempts: S) -> Result<(), ParseIntError>
    where
        S: AsRef<str>,
    {
        self.set_attempt_count(attempts.as_ref().parse()?);
        Ok(())
    }
pub fn parse_and_set_attempt_count < S > ( & mut self , attempts : S ) -> Result < ( ) , ParseIntError > where S : AsRef < str > , { self . set_attempt_count ( attempts . as_ref ( ) . parse ( ) ? ) ; Ok ( ( ) ) }
Parses and sets the attempt count from the string provided.
Parses and sets the attempt count from the string provided .
&mut self
attempts
S
&mut self
attempts
S