Trait DnsProvider

Source
pub trait DnsProvider {
    // Required method
    fn set_acme_txt_record<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        acme_challenge_identifier: &'life1 str,
        dns_value: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;

    // Provided method
    fn remove_acme_txt_record<'life0, 'life1, 'async_trait>(
        &'life0 self,
        acme_challenge_identifier: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}
Expand description

Trait for DNS providers used for DNS-01 ACME challenge.

Required Methods§

Source

fn set_acme_txt_record<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, acme_challenge_identifier: &'life1 str, dns_value: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Provided Methods§

Source

fn remove_acme_txt_record<'life0, 'life1, 'async_trait>( &'life0 self, acme_challenge_identifier: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§