/// Returns the simplest default rustls server config.
///
/// This configuration has no server cert, and will fail to accept all
/// incoming handshakes, but that doesn't matter for these tests, where we
/// don't actually do any TLS.
Returns the simplest default rustls server config.
This configuration has no server cert, and will fail to accept all
incoming handshakes, but that doesn't matter for these tests, where we
don't actually do any TLS.
Returns the simplest default rustls server config . This configuration has no server cert and will fail to accept all incoming handshakes but that doesn ' t matter for these tests where we don ' t actually do any TLS .
fn empty_server_config() -> rustls::ServerConfig {
        rustls::ServerConfig::builder()
            .with_safe_defaults()
            .with_client_cert_verifier(rustls::server::NoClientAuth::new())
            .with_cert_resolver(Arc::new(rustls::server::ResolvesServerCertUsingSni::new()))
    }
fn empty_server_config ( ) -> rustls :: ServerConfig { rustls :: ServerConfig :: builder ( ) . with_safe_defaults ( ) . with_client_cert_verifier ( rustls :: server :: NoClientAuth :: new ( ) ) . with_cert_resolver ( Arc :: new ( rustls :: server :: ResolvesServerCertUsingSni :: new ( ) ) ) }
Returns the simplest default rustls server config.
Returns the simplest default rustls server config .