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§
source§impl Clone for RTCIceConnectionState
impl Clone for RTCIceConnectionState
source§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 moresource§impl Debug for RTCIceConnectionState
impl Debug for RTCIceConnectionState
source§impl Default for RTCIceConnectionState
impl Default for RTCIceConnectionState
source§fn default() -> RTCIceConnectionState
fn default() -> RTCIceConnectionState
source§impl Display for RTCIceConnectionState
impl Display for RTCIceConnectionState
source§impl From<&str> for RTCIceConnectionState
impl From<&str> for RTCIceConnectionState
takes a string and converts it to iceconnection_state
source§impl From<u8> for RTCIceConnectionState
impl From<u8> for RTCIceConnectionState
source§impl PartialEq for RTCIceConnectionState
impl PartialEq for RTCIceConnectionState
source§fn eq(&self, other: &RTCIceConnectionState) -> bool
fn eq(&self, other: &RTCIceConnectionState) -> bool
self
and other
values to be equal, and is used
by ==
.