Module std::os::wasi::prelude

1.0.0 · source ·
Available on WASI 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::FileTypeExt;
Experimental
pub use super::fs::DirEntryExt;
Experimental
pub use super::fs::FileExt;
Experimental
pub use super::fs::MetadataExt;
Experimental
pub use super::fs::OpenOptionsExt;
Experimental
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;