Function aoko::standard::functions::fun::measure_time_with_value[][src]

pub fn measure_time_with_value<R>(f: impl FnOnce() -> R) -> (R, Duration)
Expand description

Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval.