StackProvider

Trait StackProvider 

Source
pub trait StackProvider {
    const DEDUPLICATES_RECORDS: bool = false;

    // Required methods
    async fn add_record(
        token: &str,
        fqdn: &str,
        zone: &str,
        ipaddr: IpAddr,
    ) -> Result<()>;
    async fn delete_record(
        token: &str,
        fqdn: &str,
        zone: &str,
        ipaddr: IpAddr,
    ) -> Result<()>;
}
Expand description

DNS provider that does not deduplicate record additions Sending add/dels from multiple rrdnsd nodes is not supported

Provided Associated Constants§

Required Methods§

Source

async fn add_record( token: &str, fqdn: &str, zone: &str, ipaddr: IpAddr, ) -> Result<()>

Source

async fn delete_record( token: &str, fqdn: &str, zone: &str, ipaddr: IpAddr, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§