took
#[must_use] pub fn took<T, F>(f: F) -> (Took, T) where F: FnOnce() -> T,
Measure run time of given function, return elapsed time.
Returns Took along with the function result.
Took