Enum cloudabi::filetype [] [src]

#[repr(u8)]
pub enum filetype { UNKNOWN, BLOCK_DEVICE, CHARACTER_DEVICE, DIRECTORY, PROCESS, REGULAR_FILE, SHARED_MEMORY, SOCKET_DGRAM, SOCKET_STREAM, SYMBOLIC_LINK, // some variants omitted }

The type of a file descriptor or file.

Variants

The type of the file descriptor or file is unknown or is different from any of the other types specified.

The file descriptor or file refers to a block device inode.

The file descriptor or file refers to a character device inode.

The file descriptor or file refers to a directory inode.

The file descriptor refers to a process handle.

The file descriptor or file refers to a regular file inode.

The file descriptor refers to a shared memory object.

The file descriptor or file refers to a datagram socket.

The file descriptor or file refers to a byte-stream socket.

The file refers to a symbolic link inode.

Trait Implementations

impl Copy for filetype
[src]

impl Clone for filetype
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for filetype
[src]

impl PartialEq for filetype
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Hash for filetype
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for filetype
[src]

[src]

Formats the value using the given formatter.