pub trait DnssecZoneHandler: ZoneHandler {
// Required methods
fn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: DnssecSigner,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn secure_zone<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Extension to ZoneHandler to allow for DNSSEC features
Required Methods§
Sourcefn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: DnssecSigner,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: DnssecSigner,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add Signer
Sourcefn secure_zone<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn secure_zone<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sign the zone for DNSSEC
Implementors§
impl DnssecZoneHandler for FileZoneHandler
impl<P: RuntimeProvider + Send + Sync> DnssecZoneHandler for InMemoryZoneHandler<P>
impl<P: RuntimeProvider + Send + Sync> DnssecZoneHandler for SqliteZoneHandler<P>
Available on crate feature
sqlite only.