Enum lrs::file::Type

Type of a directory entry.

Syntax

enum Type {
    BlockDevice,
    CharDevice,
    Directory,
    FIFO,
    File,
    Socket,
    SymLink,
    Unknown,
}

Variants

NameDescription
BlockDevice

A block device.

CharDevice

A character device.

Directory

A directory.

FIFO

A named pipe.

File

A regular file.

Socket

A UNIX domain socket.

SymLink

A symbolic link.

Unknown

Unknown

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.