# Type Definition std::os::wasi::io::RawFd
[−][src]

    type RawFd = u32;

🔬 This is a nightly-only experimental API. (`wasi_ext`)
This is supported on WASI only.
Expand description

Raw file descriptors.

## Trait Implementations

### `impl AsRawFd for RawFd` 1.48.0[src]

#### `fn as_raw_fd(&self) -> RawFd`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Extracts the raw file descriptor. Read more

### `impl FromRawFd for RawFd` 1.48.0[src]

#### `unsafe fn from_raw_fd(fd: RawFd) -> RawFd`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Constructs a new instance of `Self` from the given raw file descriptor. Read more

### `impl IntoRawFd for RawFd` 1.48.0[src]

#### `fn into_raw_fd(self) -> RawFd`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Consumes this object, returning the raw underlying file descriptor. Read more