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§
- Smol
Native TlsRuntime - A
Runtimepowered by smol and native-tls. - Smol
Rustls Runtime - A
Runtimepowered 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§
- Native
TlsInner 🔒 - Implementation type for SmolRuntime using NativeTls.
- Rustls
Inner 🔒 - Implementation type for SmolRuntime using Rustls.