pub trait FindInPath {
// Required method
fn find_in_path(&self) -> Option<PathBuf>;
}
Expand description
Allows finding in the PATH
Any type that implements this trait can be turned into a PathBuf to a valid executable found with the PATH environment variable.