Module fd
Owned and borrowed Unix-like file descriptors.
This module is supported on Unix platforms and WASI, which both use a similar file descriptor system for referencing OS resources.
Modules
Structs
- BorrowedFd 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.
- FromRawFd A trait to express the ability to construct an object from a raw file descriptor.
- IntoRawFd A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
Type Aliases
- RawFd Raw file descriptors.
- ValidRawFd