Skip to main content

Module tokio

Module tokio 

Source
Expand description

Entry points for use with Tokio runtimes.

Re-exportsยง

pub use TokioNativeTlsRuntime as PreferredRuntime;

Structsยง

TokioNativeTlsRuntime
A Runtime built around a Handle to a tokio runtime, and native_tls.
TokioRustlsRuntime
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 ๐Ÿ”’
Implementation type for a TokioRuntimeHandle.
RustlsHandleInner ๐Ÿ”’
Implementation for a TokioRuntimeRustlsHandle