pub trait RequiresProbe {
// Required method
fn binary_on_path(&self, name: &str) -> bool;
}Expand description
Probe used at match time for preexec.requires.
Required Methods§
Sourcefn binary_on_path(&self, name: &str) -> bool
fn binary_on_path(&self, name: &str) -> bool
Returns whether name can be executed via PATH.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".