[−][src]Module twitchchat::connector
async
only.This module lets you choose which runtime you want to use.
By default, TLS is disabled to make building the crate on various platforms easier.
To use..
Read/Write provider | Features |
---|---|
async_io | async-io |
smol | smol |
async_std | async-std |
tokio | tokio and tokio-util |
TLS
If you want TLS supports, enable the above runtime and also enable the cooresponding features:
Read/Write provider | Runtime | Features | TLS backend |
---|---|---|---|
async_io | async_io | "async-tls" | rustls |
smol | smol | "async-tls" | rustls |
async_std | async_std | "async-tls" | rustls |
tokio | tokio | "tokio-util" , "tokio-rustls" , "webpki-roots" | rustls |
tokio | tokio | "tokio-util" , "tokio-native-tls" , "native-tls" | native-tls |
Modules
async_io | async Connector for using an |
async_std | async Connector for using an |
smol | async Connector for using a |
tokio | async Connector for using a |
Structs
AsyncIoConnector | async A |
AsyncIoConnectorTls | async A |
AsyncStdConnector | async A |
AsyncStdConnectorTls | async A |
SmolConnector | async A |
SmolConnectorTls | async A |
TokioConnector | async A |
TokioConnectorNativeTls | async A |
TokioConnectorRustTls | async A |
Traits
Connector | async The connector trait. This is used to abstract out runtimes. |