W3cubDocs

/Rust

Module std::os::unix::prelude

This is supported on Unix only.

A prelude for conveniently writing platform-specific code.

Includes all extension traits, and some important type definitions.

Re-exports

pub use super::ffi::OsStrExt;
pub use super::ffi::OsStringExt;
pub use super::fs::DirEntryExt;
pub use super::fs::FileExt;
pub use super::fs::FileTypeExt;
pub use super::fs::MetadataExt;
pub use super::fs::OpenOptionsExt;
pub use super::fs::PermissionsExt;
pub use super::io::AsRawFd;
pub use super::io::FromRawFd;
pub use super::io::IntoRawFd;
pub use super::io::RawFd;
pub use super::process::CommandExt;
pub use super::process::ExitStatusExt;
pub use super::thread::JoinHandleExt;

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/prelude/index.html