pub trait Spanable: Copy + Clone + Ord + PartialOrd + Add<Duration, Output = Self> + Sub<Duration, Output = Self> {
// Required method
fn signed_duration_since(self, _: Self) -> Duration;
}
Expand description
Types that implement this trait can be used inside a Span
.
Required Methods§
sourcefn signed_duration_since(self, _: Self) -> Duration
fn signed_duration_since(self, _: Self) -> Duration
This is a wrapper method to the signed_duration_since
method from chrono
.
Object Safety§
This trait is not object safe.