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

    pub type RawFd = c_int;

This is supported on WASI only.
Expand description

Raw file descriptors.

## Trait Implementations

1.48.0[src]

### impl AsRawFd for RawFd

[src]

#### fn as_raw_fd(&self) -> RawFd

This is supported on Unix only.

Extracts the raw file descriptor. Read more

1.48.0[src]

### impl FromRawFd for RawFd

[src]

#### unsafe fn from_raw_fd(fd: RawFd) -> RawFd

This is supported on Unix only.

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

1.48.0[src]

### impl IntoRawFd for RawFd

[src]

#### fn into_raw_fd(self) -> RawFd

This is supported on Unix only.

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