Crate sqlx_rt

Crate sqlx_rt 

Source
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§

AsyncMutex
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.
UnixStream
A structure representing a connected Unix socket.

Traits§

AsyncRead
Reads bytes from a source.
AsyncReadExt
Reads bytes from a source.
AsyncWrite
Writes bytes asynchronously.
AsyncWriteExt
Writes bytes to a sink.

Functions§

block_on
enter_runtime
sleep
Waits until duration has elapsed.
spawn
Spawns a new asynchronous task, returning a JoinHandle for it.
test_block_on
timeout
Requires a Future to complete before the specified duration has elapsed.
yield_now
Yields execution back to the Tokio runtime.