Enum rustix::fs::FileType [−][src]
pub enum FileType {
RegularFile,
Directory,
Symlink,
Fifo,
Socket,
CharacterDevice,
BlockDevice,
Unknown,
}
Expand description
S_IF*
constants.
Variants
RegularFile
S_IFREG
Directory
S_IFDIR
Symlink
S_IFLNK
Fifo
S_IFIFO
Socket
S_IFSOCK
CharacterDevice
S_IFCHR
BlockDevice
S_IFBLK
Unknown
An unknown filesystem object.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl UnwindSafe for FileType
Blanket Implementations
Mutably borrows from an owned value. Read more