pub enum RTCIceConnectionState {
Unspecified,
New,
Checking,
Connected,
Completed,
Disconnected,
Failed,
Closed,
}Expand description
RTCIceConnectionState indicates signaling state of the ICE Connection.
Variants§
Unspecified
New
ICEConnectionStateNew indicates that any of the ICETransports are in the “new” state and none of them are in the “checking”, “disconnected” or “failed” state, or all ICETransports are in the “closed” state, or there are no transports.
Checking
ICEConnectionStateChecking indicates that any of the ICETransports are in the “checking” state and none of them are in the “disconnected” or “failed” state.
Connected
ICEConnectionStateConnected indicates that all ICETransports are in the “connected”, “completed” or “closed” state and at least one of them is in the “connected” state.
Completed
ICEConnectionStateCompleted indicates that all ICETransports are in the “completed” or “closed” state and at least one of them is in the “completed” state.
Disconnected
ICEConnectionStateDisconnected indicates that any of the ICETransports are in the “disconnected” state and none of them are in the “failed” state.
Failed
ICEConnectionStateFailed indicates that any of the ICETransports are in the “failed” state.
Closed
ICEConnectionStateClosed indicates that the PeerConnection’s isClosed is true.
Trait Implementations§
§impl Clone for RTCIceConnectionState
impl Clone for RTCIceConnectionState
§fn clone(&self) -> RTCIceConnectionState
fn clone(&self) -> RTCIceConnectionState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for RTCIceConnectionState
impl Debug for RTCIceConnectionState
§impl Default for RTCIceConnectionState
impl Default for RTCIceConnectionState
§fn default() -> RTCIceConnectionState
fn default() -> RTCIceConnectionState
§impl Display for RTCIceConnectionState
impl Display for RTCIceConnectionState
§impl From<&str> for RTCIceConnectionState
impl From<&str> for RTCIceConnectionState
takes a string and converts it to iceconnection_state
§fn from(raw: &str) -> RTCIceConnectionState
fn from(raw: &str) -> RTCIceConnectionState
§impl From<u8> for RTCIceConnectionState
impl From<u8> for RTCIceConnectionState
§fn from(v: u8) -> RTCIceConnectionState
fn from(v: u8) -> RTCIceConnectionState
§impl PartialEq<RTCIceConnectionState> for RTCIceConnectionState
impl PartialEq<RTCIceConnectionState> for RTCIceConnectionState
§fn eq(&self, other: &RTCIceConnectionState) -> bool
fn eq(&self, other: &RTCIceConnectionState) -> bool
self and other values to be equal, and is used
by ==.impl Copy for RTCIceConnectionState
impl Eq for RTCIceConnectionState
impl StructuralEq for RTCIceConnectionState
impl StructuralPartialEq for RTCIceConnectionState
Auto Trait Implementations§
impl RefUnwindSafe for RTCIceConnectionState
impl Send for RTCIceConnectionState
impl Sync for RTCIceConnectionState
impl Unpin for RTCIceConnectionState
impl UnwindSafe for RTCIceConnectionState
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> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> 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,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.