pub trait SaturatingSub {
// Required method
fn saturating_sub(&self, earlier: SystemTime) -> Duration;
}
Expand description
A trait that adds extension method to perform saturated substractions on SystemTime
instances.
Required Methods§
Sourcefn saturating_sub(&self, earlier: SystemTime) -> Duration
fn saturating_sub(&self, earlier: SystemTime) -> Duration
Performs saturated substraction on SystemTime
instances.