Skip to main content

RecordWrite

Trait RecordWrite 

Source
pub trait RecordWrite {
    // Required methods
    fn add_record<'a>(
        &'a self,
        zone: &'a str,
        domain: &'a str,
        ttl: u32,
        record: &'a RecordData,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn delete_record<'a>(
        &'a self,
        zone: &'a str,
        domain: &'a str,
        type_params: &'a [(&'a str, String)],
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
}

Required Methods§

Source

fn add_record<'a>( &'a self, zone: &'a str, domain: &'a str, ttl: u32, record: &'a RecordData, ) -> impl Future<Output = Result<Value>> + Send + 'a

Source

fn delete_record<'a>( &'a self, zone: &'a str, domain: &'a str, type_params: &'a [(&'a str, String)], ) -> impl Future<Output = Result<Value>> + Send + 'a

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§