Enum webrtc::ice_transport::ice_role::RTCIceRole
source · pub enum RTCIceRole {
Unspecified,
Controlling,
Controlled,
}
Expand description
ICERole describes the role ice.Agent is playing in selecting the preferred the candidate pair.
Variants§
Unspecified
Controlling
ICERoleControlling indicates that the ICE agent that is responsible for selecting the final choice of candidate pairs and signaling them through STUN and an updated offer, if needed. In any session, one agent is always controlling. The other is the controlled agent.
Controlled
ICERoleControlled indicates that an ICE agent that waits for the controlling agent to select the final choice of candidate pairs.
Trait Implementations§
source§impl Clone for RTCIceRole
impl Clone for RTCIceRole
source§fn clone(&self) -> RTCIceRole
fn clone(&self) -> RTCIceRole
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 RTCIceRole
impl Debug for RTCIceRole
source§impl Default for RTCIceRole
impl Default for RTCIceRole
source§impl Display for RTCIceRole
impl Display for RTCIceRole
source§impl From<&str> for RTCIceRole
impl From<&str> for RTCIceRole
source§impl PartialEq<RTCIceRole> for RTCIceRole
impl PartialEq<RTCIceRole> for RTCIceRole
source§fn eq(&self, other: &RTCIceRole) -> bool
fn eq(&self, other: &RTCIceRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.