Function bind_rustls

Source
pub fn bind_rustls(
    addr: SocketAddr,
    config: RustlsConfig,
) -> Server<RustlsAcceptor>
Available on crate feature tls-rustls only.
Expand description

Helper function to create a TLS server bound to a provided address.