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
sourceimpl Clone for RTCIceRole
impl Clone for RTCIceRole
sourcefn clone(&self) -> RTCIceRole
fn clone(&self) -> RTCIceRole
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 RTCIceRole
impl Debug for RTCIceRole
sourceimpl Default for RTCIceRole
impl Default for RTCIceRole
sourceimpl Display for RTCIceRole
impl Display for RTCIceRole
sourceimpl From<&str> for RTCIceRole
impl From<&str> for RTCIceRole
sourceimpl PartialEq<RTCIceRole> for RTCIceRole
impl PartialEq<RTCIceRole> for RTCIceRole
sourcefn eq(&self, other: &RTCIceRole) -> bool
fn eq(&self, other: &RTCIceRole) -> bool
impl Copy for RTCIceRole
impl Eq for RTCIceRole
impl StructuralEq for RTCIceRole
impl StructuralPartialEq for RTCIceRole
Auto Trait Implementations
impl RefUnwindSafe for RTCIceRole
impl Send for RTCIceRole
impl Sync for RTCIceRole
impl Unpin for RTCIceRole
impl UnwindSafe for RTCIceRole
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