pub async fn get_tls_async(
    host: impl ToString,
    port: u16,
    cert: impl ToString,
    max_size: u32
) -> Result<AsyncTlsPool, Error>
This is supported on crate feature aio and (crate features aio-ssl or aio-sslv) and (crate features sync or pool or aio or aio-pool) only.
Expand description

Returns an async TLS pool of the specified size and provided settings