pub fn lstat<P: Arg>(path: P) -> Result<Stat>
lstat(path)—Queries metadata for a file or directory, without following symlinks.
lstat(path)
Mode::from_raw_mode and FileType::from_raw_mode may be used to interpret the st_mode field.
Mode::from_raw_mode
FileType::from_raw_mode
st_mode