make dns Option

This commit is contained in:
Luna Yao
2026-04-06 11:54:50 +02:00
parent 9b18f820ad
commit 5f8548d272
3 changed files with 5 additions and 16 deletions
+1 -4
View File
@@ -82,10 +82,7 @@ impl DnsConfig {
#[auto_impl::auto_impl(Box, &)]
pub trait DnsConfigLoaderExt {
fn get_dns(&self) -> DnsConfig;
fn set_dns(&self, dns: DnsConfig);
fn get_fqdn(&self) -> String;
fn set_fqdn(&self, fqdn: &str);
fn set_dns(&self, dns: Option<DnsConfig>);
}
pub type DnsExportConfig = GetExportConfigResponse;