fn sub_assign(&mut self, other: std::time::Duration) {
    let delta: i64 = other.as_secs().try_into().unwrap();
    self.seconds -= delta;
    if other.subsec_nanos() > self.nanos {
      self.seconds -= 1;
      self.nanos += 1_000_000_000;
    }
    self.nanos -= other.subsec_nanos();
  }
/// Subtract the provided duration to the timestamp, in-place.
Subtract the provided duration to the timestamp, in-place.
Subtract the provided duration to the timestamp in - place .
fn sub_assign(&mut self, other: std::time::Duration) {
    let delta: i64 = other.as_secs().try_into().unwrap();
    self.seconds -= delta;
    if other.subsec_nanos() > self.nanos {
      self.seconds -= 1;
      self.nanos += 1_000_000_000;
    }
    self.nanos -= other.subsec_nanos();
  }
fn sub_assign ( & mut self , other : std :: time :: Duration ) { let delta : i64 = other . as_secs ( ) . try_into ( ) . unwrap ( ) ; self . seconds -= delta ; if other . subsec_nanos ( ) > self . nanos { self . seconds -= 1 ; self . nanos += 1_000_000_000 ; } self . nanos -= other . subsec_nanos ( ) ; }
Subtract the provided duration to the timestamp, in-place.
Subtract the provided duration to the timestamp in - place .
&mut self
other
std::time::Duration
&mut self
other
std::time::Duration