Function rss2email_lib::time_func
source · Expand description
Helper function that times and prints the elapsed execution time
of F
if ran in debug mode.
Usage
use rss2email_lib::*;
let blogs: Vec<Blog> = time_func(|| download_blogs(7), "download_blogs");