pub enum RTCIceTransportPolicy {
Unspecified = 0,
All = 1,
Relay = 2,
}
Expand description
ICETransportPolicy defines the ICE candidate policy surface the permitted candidates. Only these candidates are used for connectivity checks.
Variants§
Unspecified = 0
All = 1
ICETransportPolicyAll indicates any type of candidate is used.
Relay = 2
ICETransportPolicyRelay indicates only media relay candidates such as candidates passing through a TURN server are used.
Trait Implementations§
source§impl Clone for RTCIceTransportPolicy
impl Clone for RTCIceTransportPolicy
source§fn clone(&self) -> RTCIceTransportPolicy
fn clone(&self) -> RTCIceTransportPolicy
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 RTCIceTransportPolicy
impl Debug for RTCIceTransportPolicy
source§impl Default for RTCIceTransportPolicy
impl Default for RTCIceTransportPolicy
source§fn default() -> RTCIceTransportPolicy
fn default() -> RTCIceTransportPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCIceTransportPolicy
impl<'de> Deserialize<'de> for RTCIceTransportPolicy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RTCIceTransportPolicy
impl Display for RTCIceTransportPolicy
source§impl From<&str> for RTCIceTransportPolicy
impl From<&str> for RTCIceTransportPolicy
takes a string and converts it to ICETransportPolicy
source§impl PartialEq for RTCIceTransportPolicy
impl PartialEq for RTCIceTransportPolicy
source§fn eq(&self, other: &RTCIceTransportPolicy) -> bool
fn eq(&self, other: &RTCIceTransportPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RTCIceTransportPolicy
impl Serialize for RTCIceTransportPolicy
impl Copy for RTCIceTransportPolicy
impl Eq for RTCIceTransportPolicy
impl StructuralPartialEq for RTCIceTransportPolicy
Auto Trait Implementations§
impl RefUnwindSafe for RTCIceTransportPolicy
impl Send for RTCIceTransportPolicy
impl Sync for RTCIceTransportPolicy
impl Unpin for RTCIceTransportPolicy
impl UnwindSafe for RTCIceTransportPolicy
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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