pub trait Probe {
// Required methods
fn output(&self, program: &str, args: &[&str]) -> Option<String>;
fn exists(&self, path: &Path) -> bool;
fn read(&self, path: &Path) -> Option<String>;
}Expand description
How doctor looks at the machine.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".