pub enum RTCIceTransportPolicy {
Unspecified,
All,
Relay,
}
Expand description
ICETransportPolicy defines the ICE candidate policy surface the permitted candidates. Only these candidates are used for connectivity checks.
Variants
Unspecified
All
ICETransportPolicyAll indicates any type of candidate is used.
Relay
ICETransportPolicyRelay indicates only media relay candidates such as candidates passing through a TURN server are used.
Trait Implementations
sourceimpl Clone for RTCIceTransportPolicy
impl Clone for RTCIceTransportPolicy
sourcefn clone(&self) -> RTCIceTransportPolicy
fn clone(&self) -> RTCIceTransportPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTCIceTransportPolicy
impl Debug for RTCIceTransportPolicy
sourceimpl Default for RTCIceTransportPolicy
impl Default for RTCIceTransportPolicy
sourceimpl<'de> Deserialize<'de> for RTCIceTransportPolicy
impl<'de> Deserialize<'de> for RTCIceTransportPolicy
sourcefn 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
sourceimpl Display for RTCIceTransportPolicy
impl Display for RTCIceTransportPolicy
sourceimpl From<&str> for RTCIceTransportPolicy
impl From<&str> for RTCIceTransportPolicy
takes a string and converts it to ICETransportPolicy
sourceimpl PartialEq<RTCIceTransportPolicy> for RTCIceTransportPolicy
impl PartialEq<RTCIceTransportPolicy> for RTCIceTransportPolicy
sourcefn eq(&self, other: &RTCIceTransportPolicy) -> bool
fn eq(&self, other: &RTCIceTransportPolicy) -> bool
sourceimpl Serialize for RTCIceTransportPolicy
impl Serialize for RTCIceTransportPolicy
impl Copy for RTCIceTransportPolicy
impl Eq for RTCIceTransportPolicy
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more