Skip to main content

AcmeClient

Trait AcmeClient 

Source
pub trait AcmeClient: Send + Sync {
    // Required methods
    fn new_order<'life0, 'life1, 'async_trait>(
        &'life0 self,
        domains: &'life1 [String],
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn AcmeOrder>, AcmeError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn renewal_window<'life0, 'life1, 'async_trait>(
        &'life0 self,
        leaf_der: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<Option<(i64, i64)>, AcmeError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn new_order<'life0, 'life1, 'async_trait>( &'life0 self, domains: &'life1 [String], ) -> Pin<Box<dyn Future<Output = Result<Box<dyn AcmeOrder>, AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn renewal_window<'life0, 'life1, 'async_trait>( &'life0 self, leaf_der: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = Result<Option<(i64, i64)>, AcmeError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

RFC 9773 renewal-info window for the certificate, when the CA offers it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§