Module linux_io::fd

source ·
Expand description

The main File type and its supporting utilities for working safely with file descriptors.

Modules

  • A safer abstraction for fcntl.
  • A safer abstraction for ioctl.
  • A safer abstraction for setsockopt and getsockopt.

Structs

  • An encapsulated Linux file descriptor.
  • Encapsulates the various options for the open system call behind a builder API.

Enums

  • A marker type used with OpenOptions to represent situations where opening the file would require a mode argument.
  • A marker type used with OpenOptions to represent situations where opening the file would require a mode argument.

Constants

Traits

  • A marker trait used with OpenOptions to represent whether a particular set of options must be opened with an additional mode argument.