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
Use with
File::open
to open a file only for reading.Use with
File::open
to open a file for both reading and writing.Use with
File::open
to open a file only for writing.Traits
A marker trait used with
OpenOptions
to represent whether a particular
set of options must be opened with an additional mode
argument.