pub fn create_acceptor_from_files(
cert_path: &str,
key_path: &str,
) -> Result<TlsAcceptor>Expand description
Create a TLS acceptor directly from file paths
ยงErrors
Returns an error if loading the certificate or key files fails, or if creating the TLS acceptor fails.