Enum std::io::FileType
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 |
Trait Implementations
Derived Implementations
impl<__S: Writer> Hash<__S> for FileType
fn hash(&self, __arg_0: &mut __S)
Compute a hash of the value.