pub fn track_branch(
    segments: &[Segment],
    current_time: Option<TimeSpan>,
    segment_index: usize,
    run_index: i32,
    method: TimingMethod
) -> (usize, Time)
Expand description

Follows a path starting from a certain segment in a certain attempt to the next split that didn’t get skipped. Returns the index of the segment after the segment that has the next split time and a sum of the combined segment times and the current time provided. If the tracked attempt ends before a split time is found, the index returned is 0.