pub fn reset(&self) -> bool {
        let napped = self.did_sleep() && !self.is_completed();
        if napped {
            self.disturbed.fetch_add(1);
        }
        self.count.store(0);
        napped
    }
// reset the sequence, return true if any napping was done, but not completed
reset the sequence, return true if any napping was done, but not completed
reset the sequence return true if any napping was done but not completed
pub fn reset(&self) -> bool {
        let napped = self.did_sleep() && !self.is_completed();
        if napped {
            self.disturbed.fetch_add(1);
        }
        self.count.store(0);
        napped
    }
pub fn reset ( & self ) -> bool { let napped = self . did_sleep ( ) && ! self . is_completed ( ) ; if napped { self . disturbed . fetch_add ( 1 ) ; } self . count . store ( 0 ) ; napped }
reset the sequence, return true if any napping was done, but not completed
reset the sequence return true if any napping was done but not completed
&self