[−][src]Crate async_std
Async version of the Rust standard library.
This crate is an async version of std
.
Higher-level documentation in the form of the book "Async programming in Rust with async-std" is available.
Examples
Spawn a task and block the current thread on its result:
use async_std::task; fn main() { task::block_on(async { println!("Hello, world!"); }) }
See here for more examples.
Modules
fs | Filesystem manipulation operations. |
future | Asynchronous values. |
io | Basic input and output. |
net | Networking primitives for TCP/UDP communication. |
os | OS-specific extensions. |
prelude | The async prelude. |
stream | Asynchronous iteration. |
sync | Synchronization primitives. |
task | Asynchronous tasks. |
Macros
task_local | Declares task-local values. |