pub async fn mount<'a, F: Future + Send + 'a>(
    set_host_cert: impl FnMut(CertifiedKey) -> F + Send + Sync + 'static,
    host: &Host,
    extensions: &mut Extensions,
    new_cert_immedately: bool,
    contact: impl IntoIterator<Item = String>,
    account_path: impl AsRef<Path>,
    cert_path: impl AsRef<Path>,
    pk_path: impl AsRef<Path>
)
Available on crate feature certificate only.
Expand description

save_cert_pk: Fn(certs, private_key)