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 crate::impls::smol::create_runtime as create_runtime_impl;use crate::RealCoarseTimeProvider;๐use crate::ToplevelBlockOn;๐use crate::compound::CompoundRuntime;๐use std::io::Result as IoResult;๐use crate::impls::native_tls::NativeTlsProvider;๐use crate::impls::rustls::RustlsProvider;๐use crate::impls::smol::SmolRuntime;๐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.
Type Aliasesยง
- Native
TlsInner ๐ - Implementation type for SmolRuntime using NativeTls.
- Rustls
Inner ๐ - Implementation type for SmolRuntime using Rustls.