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§
- Tokio
Native TlsRuntime native-tls
- A
Runtime
built around a Handle to a tokio runtime, andnative_tls
. - Tokio
Rustls Runtime rustls
- A
Runtime
built around a Handle to a tokio runtime, andrustls
.
Functions§
- current_
handle 🔒 - As
Handle::try_current()
, but return an IoError on failure.
Type Aliases§
- Handle
Inner 🔒native-tls
- Implementation type for a TokioRuntimeHandle.
- Rustls
Handle 🔒Inner rustls
- Implementation for a TokioRuntimeRustlsHandle