pub trait ProcessProbe {
// Required method
fn is_running(&self, pid: u32, start_time: Option<&str>) -> bool;
}Expand description
Whether a session’s process is still the one that wrote its file. The seam tests replace: they must never probe the real process table.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".