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
sourceimpl Clone for RTCIceConnectionState
impl Clone for RTCIceConnectionState
sourcefn clone(&self) -> RTCIceConnectionState
fn clone(&self) -> RTCIceConnectionState
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for RTCIceConnectionState
impl Debug for RTCIceConnectionState
sourceimpl Default for RTCIceConnectionState
impl Default for RTCIceConnectionState
sourceimpl Display for RTCIceConnectionState
impl Display for RTCIceConnectionState
sourceimpl From<&str> for RTCIceConnectionState
impl From<&str> for RTCIceConnectionState
takes a string and converts it to iceconnection_state