Module tokio

Source
Available on (crate features native-tls or rustls) and (crate features async-std or tokio) and crate feature tokio only.
Expand description

Re-exports of the tokio runtime for use with arti.

This crate helps define a slim API around our async runtime so that we can easily swap it out.

Modules§

net 🔒
Types used for networking (tokio implementation)

Structs§

TokioRuntimeHandle
Wrapper around a Handle to a tokio runtime.

Functions§

create_runtime 🔒
Create and return a new Tokio multithreaded runtime.