pub trait IsExecutable {
// Required method
fn is_executable(&self) -> bool;
}Expand description
An extension trait for std::fs::Path providing an is_executable method.
See the module documentation for examples.
Required Methods§
Sourcefn is_executable(&self) -> bool
fn is_executable(&self) -> bool
Returns true if there is a file at the given path and it is
executable. Returns false otherwise.
See the module documentation for details.