Skip to main content

Module smol

Module smol 

Source
Expand description

Entry points for use with smol runtimes. This crate helps define a slim API around our async runtime so that we can easily swap it out.

Re-exports§

pub use SmolNativeTlsRuntime as PreferredRuntime;

Structs§

SmolNativeTlsRuntime
A Runtime powered by smol and native-tls.
SmolRustlsRuntime
A Runtime powered by smol and rustls.

Functions§

create_runtime_impl
Re-export the Smol runtime constructor implemented in impls/smol.rs. Construct new instance of the smol runtime.

Type Aliases§

NativeTlsInner 🔒
Implementation type for SmolRuntime using NativeTls.
RustlsInner 🔒
Implementation type for SmolRuntime using Rustls.