(self, rhs: I)
| 323 | } |
| 324 | |
| 325 | pub fn checked_sub<I: Into<Self>>(self, rhs: I) -> Option<Self> { |
| 326 | self.internal |
| 327 | .checked_sub(rhs.into().internal) |
| 328 | .map(|internal| Self { internal }) |
| 329 | } |
| 330 | |
| 331 | /// Advance a timestamp by the least amount possible such that |
| 332 | /// `ts.less_than(ts.step_forward())` is true. Panic if unable to do so. |