mod.rs - source
Description: Source of the Rust file `library\std\src\os\fd\mod.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16

    //! Owned and borrowed Unix-like file descriptors.

    #![stable(feature = "io_safety", since = "1.63.0")]
    #![deny(unsafe_op_in_unsafe_fn)]

    // `RawFd`, `AsRawFd`, etc.
    pub mod raw;

    // `OwnedFd`, `AsFd`, etc.
    pub mod owned;

    // Implementations for `AsRawFd` etc. for network types.
    mod net;

    #[cfg(test)]
    mod tests;