☰
RawFd
Trait Implementations
AsRawFd
FromRawFd
IntoRawFd
In std::os::wasi::io
?
Type Definition
std
::
os
::
wasi
::
io
::
RawFd
1.0.0
·
source
·
[
−
]
pub type RawFd =
c_int
;
Available on
WASI
only.
Expand description
Raw file descriptors.
Trait Implementations
1.48.0
·
source
impl
AsRawFd
for
RawFd
source
fn
as_raw_fd
(&self) ->
RawFd
Available on
Unix
only.
Extracts the raw file descriptor.
Read more
1.48.0
·
source
impl
FromRawFd
for
RawFd
source
unsafe fn
from_raw_fd
(fd:
RawFd
) ->
RawFd
Available on
Unix
only.
Constructs a new instance of
Self
from the given raw file descriptor.
Read more
1.48.0
·
source
impl
IntoRawFd
for
RawFd
source
fn
into_raw_fd
(self) ->
RawFd
Available on
Unix
only.
Consumes this object, returning the raw underlying file descriptor.
Read more