Function rg::args::load_timestamps
source · fn load_timestamps<G>(
subjects: impl Iterator<Item = Subject>,
get_time: G
) -> Vec<(Option<SystemTime>, Subject)>where
G: Fn(&Metadata) -> Result<SystemTime>,
Expand description
Tries to assign a timestamp to every Subject
in the vector to help with
sorting Subjects by time.