Module std::os::fd

1.66.0 · source ·
Expand description

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

  • net 🔒
  • owned 🔒
    Owned and borrowed Unix-like file descriptors.
  • raw 🔒
    Raw Unix-like file descriptors.

Structs

Traits

  • A trait to borrow the file descriptor from an underlying object.
  • A trait to extract the raw file descriptor from an underlying object.
  • A trait to express the ability to construct an object from a raw file descriptor.
  • A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.

Type Definitions

  • Raw file descriptors.