pub fn is_executable(metadata: &Metadata) -> bool
Returns whether a a file has the executable permission set.