pub trait CertCache: Send + Sync {
type EC: Debug;
// Required methods
fn load_cert<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
domains: &'life1 [String],
directory_url: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, Self::EC>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn store_cert<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
domains: &'life1 [String],
directory_url: &'life2 str,
cert: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), Self::EC>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}