pub fn gen_tls_configs(
    alpn: &[u8],
    tls: &TlsConfig,
    tuning_params: Arc<KitsuneP2pTuningParams, Global>
) -> Result<(Arc<ServerConfig, Global>, Arc<ClientConfig, Global>), KitsuneError>
Expand description

Helper to generate rustls configs given a TlsConfig reference.