Skip to main content

RequiresProbe

Trait RequiresProbe 

Source
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§

Source

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".

Implementors§