W3cubDocs

/Rust

Module prelude

Available on WASI 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::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;

© 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/wasi/prelude/index.html