[−][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 |
tokio | tokio | "tokio-util" , "tokio-openssl" , "openssl" | openssl |
Modules
async_io | Connector for using an |
async_std | Connector for using an |
smol | Connector for using a |
tokio | Connector for using a |
Structs
AsyncIoConnector | A |
AsyncIoConnectorTls | A |
AsyncStdConnector | A |
AsyncStdConnectorTls | A |
SmolConnector | A |
SmolConnectorTls | A |
TokioConnector | A |
TokioConnectorNativeTls | A |
TokioConnectorOpenSsl | A |
TokioConnectorRustTls | A |
Traits
Connector | The connector trait. This is used to abstract out runtimes. |