Module async_compatibility_layer::art
source · Expand description
abstraction over both tokio and async-std, making it possible to use either based on a feature flag
Modules§
- executor future abstractions
- executor stream abstractions
Structs§
- A TCP stream between a local and a remote socket.
Traits§
Functions§
- Spawns a task and blocks the current thread on its result.
- Spawns a task and blocks the current thread on its result.
- Sleeps for the specified amount of time.
- Spawns a task.
- Spawns a task onto the thread-local executor.
- Provides timeout with
async_stdthat matchestokio::time::timeout - Cooperatively gives up a timeslice to the task scheduler.
- Splits a
TcpStreaminto reader and writer
Attribute Macros§
- Enables an async main function.
- Enables an async test function.