Skip to main content

ZoneImport

Trait ZoneImport 

Source
pub trait ZoneImport {
    // Required method
    fn import_zone_file<'a>(
        &'a self,
        zone: &'a str,
        file_name: String,
        file_bytes: Vec<u8>,
        overwrite: bool,
        overwrite_zone: bool,
        overwrite_soa_serial: bool,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
}

Required Methods§

Source

fn import_zone_file<'a>( &'a self, zone: &'a str, file_name: String, file_bytes: Vec<u8>, overwrite: bool, overwrite_zone: bool, overwrite_soa_serial: bool, ) -> 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§