#[non_exhaustive]pub struct Dns {
pub proxy: Option<DnsProxy>,
pub dnssec: Option<Dnssec>,
}Expand description
The system services dns settings.
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.proxy: Option<DnsProxy>§dnssec: Option<Dnssec>Trait Implementations§
impl Eq for Dns
impl StructuralPartialEq for Dns
Auto Trait Implementations§
impl Forget for Dns
impl Freeze for Dnswhere
*const u8 is !null: Freeze,
PhantomData<DnsCacheEntry>: Freeze,
PhantomData<DnsDomain>: Freeze,
PhantomData<String>: Freeze,
PhantomData<DnsView>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<TraceFlag>: Freeze,
impl Move for Dns
impl RefUnwindSafe for Dns
impl Send for Dnswhere
RawVecInner: Send,
impl Sync for Dnswhere
RawVecInner: Sync,
impl Unpin for Dns
impl UnsafeUnpin for Dnswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<DnsCacheEntry>: UnsafeUnpin,
PhantomData<DnsDomain>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<DnsView>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Dnswhere
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