pub(crate) fn for_sni(&self) -> Option<webpki::DnsNameRef> {
        match self {
            ServerName::DnsName(dns_name) => Some(dns_name.as_ref()),
        }
    }
/// Return the name that should go in the SNI extension.
/// If [`None`] is returned, the SNI extension is not included
/// in the handshake.
Return the name that should go in the SNI extension.
If [`None`] is returned, the SNI extension is not included
in the handshake.
Return the name that should go in the SNI extension . If [ ` None ` ] is returned the SNI extension is not included in the handshake .
pub(crate) fn for_sni(&self) -> Option<webpki::DnsNameRef> {
        match self {
            ServerName::DnsName(dns_name) => Some(dns_name.as_ref()),
        }
    }
pub ( crate ) fn for_sni ( & self ) -> Option < webpki :: DnsNameRef > { match self { ServerName :: DnsName ( dns_name ) => Some ( dns_name . as_ref ( ) ) , } }
Return the name that should go in the SNI extension.
Return the name that should go in the SNI extension .
&self