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§fn default() -> RTCIceRole
fn default() -> RTCIceRole
Returns the “default value” for a type. Read more
source§impl Display for RTCIceRole
impl Display for RTCIceRole
source§impl From<&str> for RTCIceRole
impl From<&str> for RTCIceRole
source§impl PartialEq for RTCIceRole
impl PartialEq 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 ==
.impl Copy for RTCIceRole
impl Eq 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§
§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