Enum std::io::FileType[src]
pub enum FileType {
TypeFile,
TypeDirectory,
TypeNamedPipe,
TypeBlockSpecial,
TypeSymlink,
TypeUnknown,
}Different kinds of files which can be identified by a call to stat
Variants
TypeFile | This is a normal file, corresponding to |
TypeDirectory | This file is a directory, corresponding to |
TypeNamedPipe | This file is a named pipe, corresponding to |
TypeBlockSpecial | This file is a block device, corresponding to |
TypeSymlink | This file is a symbolic link to another file, corresponding to |
TypeUnknown | The type of this file is not recognized as one of the other categories |