Module std::os::unix::prelude

1.0.0 · source ·
Available on Unix only.
Expand description

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::AsFd;
pub use super::io::AsRawFd;
pub use super::io::BorrowedFd;
pub use super::io::FromRawFd;
pub use super::io::IntoRawFd;
pub use super::io::OwnedFd;
pub use super::io::RawFd;
pub use super::process::CommandExt;
pub use super::process::ExitStatusExt;
pub use super::thread::JoinHandleExt;