Re-exports
pub use tokio;Modules
Asynchronous file and standard stream adaptation.
Macros
Structs
An asynchronous Mutex-like type.
Handle to the runtime.
A wrapper around a byte buffer that is incrementally filled and initialized.
A TCP stream between a local and a remote socket.
A wrapper around a rustls::ClientConfig, providing an async connect method.
A wrapper around an underlying raw stream which implements the TLS or SSL protocol.
A structure representing a connected Unix socket.
Traits
Reads bytes from a source.
Reads bytes from a source.
Writes bytes asynchronously.
Writes bytes to a sink.
Functions
Waits until duration has elapsed.
Spawns a new asynchronous task, returning a
JoinHandle for it.
Requires a Future to complete before the specified duration has elapsed.
Yields execution back to the Tokio runtime.