Module rustix::fd

Documentation

Export *Fd* types and traits that used in rustix’s public API.

Users can use this to avoid needing to import anything else to use the same versions of these types and traits.

Note that rustix APIs that use OwnedFd use rustix::io::OwnedFd instead, which allows rustix to implement close for them.

On this page