Available on Unix only.
Expand description
A prelude for conveniently writing platform-specific code.
Includes all extension traits, and some important type definitions.
Structs§
- Borrowed
Fd - A borrowed file descriptor.
- OwnedFd
- An owned file descriptor.
Traits§
- AsFd
- A trait to borrow the file descriptor from an underlying object.
- AsRawFd
- A trait to extract the raw file descriptor from an underlying object.
- Command
Ext - Unix-specific extensions to the
process::Command
builder. - DirEntry
Ext - Unix-specific extension methods for
fs::DirEntry
. - Exit
Status Ext - Unix-specific extensions to
process::ExitStatus
andExitStatusError
. - FileExt
- Unix-specific extensions to
fs::File
. - File
Type Ext - Unix-specific extensions for
fs::FileType
. - From
RawFd - A trait to express the ability to construct an object from a raw file descriptor.
- Into
RawFd - A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
- Join
Handle Ext - Unix-specific extensions to
JoinHandle
. - Metadata
Ext - Unix-specific extensions to
fs::Metadata
. - Open
Options Ext - Unix-specific extensions to
fs::OpenOptions
. - OsStr
Ext - Platform-specific extensions to
OsStr
. - OsString
Ext - Platform-specific extensions to
OsString
. - Permissions
Ext - Unix-specific extensions to
fs::Permissions
.
Type Aliases§
- RawFd
- Raw file descriptors.