Function monitor_stats

Source
pub fn monitor_stats<T>(
    stats_args: &[(String, String)],
    intv: Duration,
    should_exit: impl FnMut() -> bool,
    output: impl FnMut(T) -> Result<()>,
) -> Result<()>
where T: for<'a> Deserialize<'a>,