Module tokio

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

Entry points for use with Tokio runtimes.

Re-exports§

pub use TokioNativeTlsRuntime as PreferredRuntime;native-tls

Structs§

TokioNativeTlsRuntimenative-tls
A Runtime built around a Handle to a tokio runtime, and native_tls.
TokioRustlsRuntimerustls
A Runtime built around a Handle to a tokio runtime, and rustls.

Functions§

current_handle 🔒
As Handle::try_current(), but return an IoError on failure.

Type Aliases§

HandleInner 🔒 native-tls
Implementation type for a TokioRuntimeHandle.
RustlsHandleInner 🔒 rustls
Implementation for a TokioRuntimeRustlsHandle