Results for ErrorKind
In Names
(1)
In Parameters
(5)
In Return Types
(2)
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.
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.
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. |
task_local | Declares task-local values. |
async_std::io::ErrorKind | A list specifying general categories of I/O error. |
async_std::io::Error::kind | Returns the corresponding `ErrorKind` for this error. |
async_std::io::ErrorKind::clone |