Module rustix::io

source · []
Expand description

I/O operations.

Structs

The error type for rustix APIs.

A wrapper around io_lifetimes::OwnedFd which closes the file descriptor using rustix’s own close rather than libc’s close.

struct pollfd—File descriptor and flags for use with poll.

POLL* flags for use with poll.

Enums

Enumeration of possible methods to seek within an I/O object.

Functions

close(raw_fd)—Closes a RawFd directly.

ioctl(fd, FIONBIO, &value)—Enables or disables non-blocking mode.

poll(self.fds, timeout)

Call f until it either succeeds or fails other than Errno::INTR.

Type Definitions

A specialized Result type for rustix APIs.