pub trait AcmeStoreNamespace: Send + Sync {
// Required methods
fn load_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredCertificate>, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn list_certificates<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<StoredCertificate>, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn commit_certificate<'life0, 'life1, 'async_trait>(
&'life0 self,
cert: &'life1 StoredCertificate,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn remove_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn quarantine_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cert: &'life1 StoredCertificate,
reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn load_account<'life0, 'life1, 'async_trait>(
&'life0 self,
directory: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredAccount>, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn save_account<'life0, 'life1, 'async_trait>(
&'life0 self,
account: &'life1 StoredAccount,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn load_retry_state<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredRetryState>, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn save_retry_state<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 StoredRetryState,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
fn load_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredCertificate>, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_certificates<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<StoredCertificate>, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn commit_certificate<'life0, 'life1, 'async_trait>(
&'life0 self,
cert: &'life1 StoredCertificate,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn quarantine_certificate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cert: &'life1 StoredCertificate,
reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_account<'life0, 'life1, 'async_trait>(
&'life0 self,
directory: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredAccount>, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_account<'life0, 'life1, 'async_trait>(
&'life0 self,
account: &'life1 StoredAccount,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_retry_state<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 DnsName,
issuer: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredRetryState>, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn save_retry_state<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 StoredRetryState,
) -> Pin<Box<dyn Future<Output = Result<StoreRevision, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".