pub enum IceTransportPolicy {
All,
Relay,
}
Expand description
A string representing the current ICE transport policy. Possible values are:
Variants§
All
All ICE candidates will be considered. This is the default value.
Relay
Only ICE candidates whose IP addresses are being relayed, such as those being passed through a TURN server, will be considered.
Trait Implementations§
source§impl Clone for IceTransportPolicy
impl Clone for IceTransportPolicy
source§fn clone(&self) -> IceTransportPolicy
fn clone(&self) -> IceTransportPolicy
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 IceTransportPolicy
impl Debug for IceTransportPolicy
source§impl Default for IceTransportPolicy
impl Default for IceTransportPolicy
source§fn default() -> IceTransportPolicy
fn default() -> IceTransportPolicy
Returns the “default value” for a type. Read more
source§impl PartialEq for IceTransportPolicy
impl PartialEq for IceTransportPolicy
source§fn eq(&self, other: &IceTransportPolicy) -> bool
fn eq(&self, other: &IceTransportPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IceTransportPolicy
impl Eq for IceTransportPolicy
impl StructuralPartialEq for IceTransportPolicy
Auto Trait Implementations§
impl RefUnwindSafe for IceTransportPolicy
impl Send for IceTransportPolicy
impl Sync for IceTransportPolicy
impl Unpin for IceTransportPolicy
impl UnwindSafe for IceTransportPolicy
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