pub fn new(
start_t: T,
end_t: T,
timeline_dt: DT,
latency_metrics: M,
timeline_metrics: impl Fn() -> TM
) -> Self
fn record(&mut self, begin_t: T, end_t: T)
impl<T, DT, M, TM> RefUnwindSafe for Timeline<T, DT, M, TM> where
DT: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
TM: RefUnwindSafe,
impl<T, DT, M, TM> Send for Timeline<T, DT, M, TM> where
DT: Send,
M: Send,
T: Send,
TM: Send,
impl<T, DT, M, TM> Sync for Timeline<T, DT, M, TM> where
DT: Sync,
M: Sync,
T: Sync,
TM: Sync,
impl<T, DT, M, TM> Unpin for Timeline<T, DT, M, TM> where
DT: Unpin,
M: Unpin,
T: Unpin,
TM: Unpin,
impl<T, DT, M, TM> UnwindSafe for Timeline<T, DT, M, TM> where
DT: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
TM: UnwindSafe,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.