Trait timespan::Spanable [] [src]

pub trait Spanable: Copy + Clone + Ord + PartialOrd + Add<Duration, Output = Self> + Sub<Duration, Output = Self> {
    fn signed_duration_since(self, _: Self) -> Duration;
}

Types that implement this trait can be used inside a Span.

Required Methods

This is a wrapper method to the signed_duration_since method from chrono.

Implementors