pub fn is_executable(path: &Path) -> bool
Whether path is an existing regular file the process may execute (on non-Unix, merely an existing file — there is no mode bit to check).
path