Available on Hermit or Motor OS or Trusty or Unix or WASI only.
Expand description
Raw Unix-like file descriptors.
Re-exportsยง
use crate::alloc::Allocator;๐use crate::fs;๐Non-Trusty use crate::io;๐use crate::macros::rustdoc_skip_body;๐use crate::os::raw;๐Non-Hermit and non-Motor OS use crate::os::unix::io::OwnedFd;๐Unix use crate::sys::AsInner;๐Non-Trusty use crate::sys::FromInner;๐Non-Trusty use crate::sys::IntoInner;๐Non-Trusty
Traitsยง
- AsRawFd
- A trait to extract the raw file descriptor from an underlying object.
- 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.
Type Aliasesยง
- RawFd
Non-Hermit and non-Motor OS - Raw file descriptors.