Module tor_rtcompat::tokio
source · 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§
- TokioNativeTlsRuntime
native-tls
ARuntime
built around a Handle to a tokio runtime, andnative_tls
. - TokioRustlsRuntime
rustls
ARuntime
built around a Handle to a tokio runtime, andrustls
.
Functions§
- As
Handle::try_current()
, but return an IoError on failure.
Type Aliases§
- Implementation type for a TokioRuntimeHandle.
- Implementation for a TokioRuntimeRustlsHandle