Module io_extras::os::rustix

source ·
Expand description

All Posix-ish platforms have RawFd and related traits. Re-export them so that users don’t need target-specific code to import them.

Re-exports

Traits

  • 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.