Skip to main content

file_pair

Function file_pair 

Source
fn file_pair<'a>(
    cert: &'a Option<String>,
    key: &'a Option<String>,
    what: &str,
) -> Result<(&'a str, &'a str), TlsError>
Expand description

The file pair of a file-based slot. ACME-managed slots are handled by the resolver (see CertSlot); calling this on one is a wiring bug surfaced as MissingCertSource.