pub trait AcmeOrder: Send {
// Required methods
fn pending_challenges<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<PendingChallenge>, AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn mark_ready<'life0, 'life1, 'async_trait>(
&'life0 mut self,
domain: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn wait_ready<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn finalize<'life0, 'life1, 'async_trait>(
&'life0 mut self,
csr_der: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<String, AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
Sourcefn pending_challenges<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<PendingChallenge>, AcmeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pending_challenges<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<PendingChallenge>, AcmeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
One entry per authorization still pending (already-valid ones are skipped).
Sourcefn mark_ready<'life0, 'life1, 'async_trait>(
&'life0 mut self,
domain: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AcmeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn mark_ready<'life0, 'life1, 'async_trait>(
&'life0 mut self,
domain: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AcmeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Tells the CA the TLS-ALPN-01 challenge for domain may be validated now.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".