Enum webrtc_ice::mdns::MulticastDnsMode
source · pub enum MulticastDnsMode {
Disabled,
QueryOnly,
QueryAndGather,
}
Expand description
Represents the different Multicast modes that ICE can run.
Variants§
Disabled
Means remote mDNS candidates will be discarded, and local host candidates will use IPs.
QueryOnly
Means remote mDNS candidates will be accepted, and local host candidates will use IPs.
QueryAndGather
Means remote mDNS candidates will be accepted, and local host candidates will use mDNS.
Trait Implementations§
source§impl Clone for MulticastDnsMode
impl Clone for MulticastDnsMode
source§fn clone(&self) -> MulticastDnsMode
fn clone(&self) -> MulticastDnsMode
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 MulticastDnsMode
impl Debug for MulticastDnsMode
source§impl Default for MulticastDnsMode
impl Default for MulticastDnsMode
source§impl PartialEq for MulticastDnsMode
impl PartialEq for MulticastDnsMode
source§fn eq(&self, other: &MulticastDnsMode) -> bool
fn eq(&self, other: &MulticastDnsMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MulticastDnsMode
impl Eq for MulticastDnsMode
impl StructuralPartialEq for MulticastDnsMode
Auto Trait Implementations§
impl RefUnwindSafe for MulticastDnsMode
impl Send for MulticastDnsMode
impl Sync for MulticastDnsMode
impl Unpin for MulticastDnsMode
impl UnwindSafe for MulticastDnsMode
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