pub fn untrusted_client_tls(server_name: &str) -> ClientTlsExpand description
A [ClientTls] that trusts a different self-signed authority than
whatever the server under test presents — for a test asserting that an
untrusted certificate is rejected.
§Panics
Panics if server_name is not a usable DNS name or IP address.