pub enum MulticastDns {
Disabled,
Enabled,
}Expand description
Whether a query is sent with multicast DNS.
Variants§
Disabled
Send the query to the configured DNS servers.
Enabled
Send the query to the mDNS multicast address. Requires the mdns feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MulticastDns
impl RefUnwindSafe for MulticastDns
impl Send for MulticastDns
impl Sync for MulticastDns
impl Unpin for MulticastDns
impl UnsafeUnpin for MulticastDns
impl UnwindSafe for MulticastDns
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