pub enum FileType {
File,
Dir,
Symlink,
Other,
}
Expand description
The type of a file.
This is a simplification of the std::fs::FileType
type, which is not constructable and may
differ on different platforms.
Variants
File
A regular file.
Dir
A directory.
Symlink
A symbolic link.
Other
Something else.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl UnwindSafe for FileType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more