pub trait CertFacade {
fn first_cert<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<Cert>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_cert<'life0, 'life1, 'async_trait>(
&'life0 self,
cert: &'life1 Cert
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn create_cert<'life0, 'life1, 'async_trait>(
&'life0 self,
cert: &'life1 Cert
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn start_cert<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<Cert>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn stop_cert<'life0, 'life1, 'async_trait>(
&'life0 self,
memory_cert: &'life1 mut Cert
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}