Function rustls_pin::arbitrary_dns_name[][src]

#[must_use]pub fn arbitrary_dns_name() -> DNSName

An arbitrary DNSName struct, for passing to rustls::ClientSession::new. PinnedServerCertVerifier receives the value and ignores it.