pub fn client_tls(certs: &TestCerts, server_name: &str) -> ClientTlsExpand description
A [ClientTls] that trusts certs and checks the peer’s certificate
against server_name.
§Panics
Panics if certs does not parse or server_name is not a usable DNS
name or IP address.