Skip to main content

ProbeBackend

Trait ProbeBackend 

Source
pub trait ProbeBackend {
    // Required method
    fn run_batch(&self, jobs: &[(UnitId, ProbeDef)]) -> Vec<ProbeResult>;
}

Required Methods§

Source

fn run_batch(&self, jobs: &[(UnitId, ProbeDef)]) -> Vec<ProbeResult>

Run probes concurrently, each in its sandbox, each killed at its timeout (§10). One result per job, in order. FreeSpace probes are answered here too; SystemdActive and SessionTarget are evaluated by state.

Implementors§