pub enum RTCSignalingState {
Unspecified = 0,
Stable = 1,
HaveLocalOffer = 2,
HaveRemoteOffer = 3,
HaveLocalPranswer = 4,
HaveRemotePranswer = 5,
Closed = 6,
}
Expand description
SignalingState indicates the signaling state of the offer/answer process.
Variants§
Unspecified = 0
Stable = 1
SignalingStateStable indicates there is no offer/answer exchange in progress. This is also the initial state, in which case the local and remote descriptions are nil.
HaveLocalOffer = 2
SignalingStateHaveLocalOffer indicates that a local description, of type “offer”, has been successfully applied.
HaveRemoteOffer = 3
SignalingStateHaveRemoteOffer indicates that a remote description, of type “offer”, has been successfully applied.
HaveLocalPranswer = 4
SignalingStateHaveLocalPranswer indicates that a remote description of type “offer” has been successfully applied and a local description of type “pranswer” has been successfully applied.
HaveRemotePranswer = 5
SignalingStateHaveRemotePranswer indicates that a local description of type “offer” has been successfully applied and a remote description of type “pranswer” has been successfully applied.
Closed = 6
SignalingStateClosed indicates The PeerConnection has been closed.
Trait Implementations§
source§impl Clone for RTCSignalingState
impl Clone for RTCSignalingState
source§fn clone(&self) -> RTCSignalingState
fn clone(&self) -> RTCSignalingState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RTCSignalingState
impl Debug for RTCSignalingState
source§impl Default for RTCSignalingState
impl Default for RTCSignalingState
source§fn default() -> RTCSignalingState
fn default() -> RTCSignalingState
source§impl Display for RTCSignalingState
impl Display for RTCSignalingState
source§impl From<&str> for RTCSignalingState
impl From<&str> for RTCSignalingState
source§impl From<u8> for RTCSignalingState
impl From<u8> for RTCSignalingState
source§impl PartialEq for RTCSignalingState
impl PartialEq for RTCSignalingState
source§fn eq(&self, other: &RTCSignalingState) -> bool
fn eq(&self, other: &RTCSignalingState) -> bool
self
and other
values to be equal, and is used
by ==
.