Expand description
Core runtime support for SQLx. Semver-exempt, not for general use.
Re-exports§
pub use tokio;
Modules§
- fs
- Asynchronous file and standard stream adaptation.
Structs§
- Async
Mutex - An asynchronous
Mutex-like type. - Handle
- Handle to the runtime.
- ReadBuf
- A wrapper around a byte buffer that is incrementally filled and initialized.
- TcpStream
- A TCP stream between a local and a remote socket.
- Unix
Stream - A structure representing a connected Unix socket.
Traits§
- Async
Read - Reads bytes from a source.
- Async
Read Ext - Reads bytes from a source.
- Async
Write - Writes bytes asynchronously.
- Async
Write Ext - Writes bytes to a sink.
Functions§
- block_
on - enter_
runtime - sleep
- Waits until
durationhas elapsed. - spawn
- Spawns a new asynchronous task, returning a
JoinHandlefor it. - test_
block_ on - timeout
- Requires a
Futureto complete before the specified duration has elapsed. - yield_
now - Yields execution back to the Tokio runtime.