Skip to main content

FileType

Type Alias FileType 

Source
pub type FileType = VfsNodeType;
Expand description

Aliased Type§

#[repr(u8)]
pub enum FileType { Fifo = 1, CharDevice = 2, Dir = 4, BlockDevice = 6, File = 8, SymLink = 10, Socket = 12, }

Variants§

§

Fifo = 1

FIFO (named pipe)

§

CharDevice = 2

Character device

§

Dir = 4

Directory

§

BlockDevice = 6

Block device

§

File = 8

Regular file

Symbolic link

§

Socket = 12

Socket