#[non_exhaustive]pub struct DnsProxy {
pub cache: Vec<DnsCacheEntry>,
pub default_domains: Vec<DnsDomain>,
pub interfaces: Vec<String>,
pub propagate_setting: Option<bool>,
pub views: Vec<DnsView>,
}Expand description
The dns-proxy block.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cache: Vec<DnsCacheEntry>§default_domains: Vec<DnsDomain>§interfaces: Vec<String>§propagate_setting: Option<bool>Some(true) for enable, Some(false) for disable, from propogate-setting (sic).
views: Vec<DnsView>Trait Implementations§
impl Eq for DnsProxy
impl StructuralPartialEq for DnsProxy
Auto Trait Implementations§
impl Forget for DnsProxy
impl Freeze for DnsProxywhere
*const u8 is !null: Freeze,
PhantomData<DnsCacheEntry>: Freeze,
PhantomData<DnsDomain>: Freeze,
PhantomData<String>: Freeze,
PhantomData<DnsView>: Freeze,
impl Move for DnsProxy
impl RefUnwindSafe for DnsProxy
impl Send for DnsProxywhere
RawVecInner: Send,
impl Sync for DnsProxywhere
RawVecInner: Sync,
impl Unpin for DnsProxy
impl UnsafeUnpin for DnsProxywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<DnsCacheEntry>: UnsafeUnpin,
PhantomData<DnsDomain>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<DnsView>: UnsafeUnpin,
impl UnwindSafe for DnsProxywhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more