Skip to main content

RawFd

Type Alias RawFd 

1.66.0 · Source
pub type RawFd = c_int;
Available on (Hermit or Motor OS or Trusty or Unix or WASI) and non-Hermit and non-Motor OS only.
Expand description

Raw file descriptors.

Trait Implementations§

1.48.0 · Source§

impl AsRawFd for RawFd

Source§

fn as_raw_fd(&self) -> RawFd

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Extracts the raw file descriptor. Read more
1.48.0 · Source§

impl FromRawFd for RawFd

Source§

unsafe fn from_raw_fd(fd: RawFd) -> RawFd

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Consumes this object, returning the raw underlying file descriptor. Read more