Skip to main content

monitor_stats_sched

Function monitor_stats_sched 

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

Like monitor_stats(), but for the stats server at sched_path, the path the server was given through StatsServer::set_sched_path(). None selects the default server.