Type Definition std::os::fd::RawFd

1.0.0 · source ·
pub type RawFd = c_int;
Expand description

原始文件描述符。

Trait Implementations§

1.48.0 · source§

impl AsRawFd for RawFd

source§

fn as_raw_fd(&self) -> RawFd

提取原始文件描述符。 Read more
1.48.0 · source§

impl FromRawFd for RawFd

source§

unsafe fn from_raw_fd(fd: RawFd) -> RawFd

根据给定的原始文件描述符构造 Self 的新实例。 Read more
1.48.0 · source§

impl IntoRawFd for RawFd

source§

fn into_raw_fd(self) -> RawFd

消费这个对象,返回原始的底层文件描述符。 Read more