Type Alias axstd::fs::FileType

source ·
pub type FileType = AxFileType;
Available on crate feature fs only.
Expand description

A structure representing a type of file with accessors for each file type. It is returned by Metadata::file_type method.

Aliased Type§

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