pub enum DnsServersUpdateSource {
Default,
Netstack,
Dhcpv4 {
interface_id: u64,
},
Dhcpv6 {
interface_id: u64,
},
}
Expand description
The possible sources of DNS server updates.
Variants§
Trait Implementations§
Source§impl Clone for DnsServersUpdateSource
impl Clone for DnsServersUpdateSource
Source§fn clone(&self) -> DnsServersUpdateSource
fn clone(&self) -> DnsServersUpdateSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DnsServersUpdateSource
impl Debug for DnsServersUpdateSource
Source§impl Hash for DnsServersUpdateSource
impl Hash for DnsServersUpdateSource
Source§impl PartialEq for DnsServersUpdateSource
impl PartialEq for DnsServersUpdateSource
impl Copy for DnsServersUpdateSource
impl Eq for DnsServersUpdateSource
impl StructuralPartialEq for DnsServersUpdateSource
Auto Trait Implementations§
impl Freeze for DnsServersUpdateSource
impl RefUnwindSafe for DnsServersUpdateSource
impl Send for DnsServersUpdateSource
impl Sync for DnsServersUpdateSource
impl Unpin for DnsServersUpdateSource
impl UnwindSafe for DnsServersUpdateSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)