pub enum RTCSignalingState {
Unspecified,
Stable,
HaveLocalOffer,
HaveRemoteOffer,
HaveLocalPranswer,
HaveRemotePranswer,
Closed,
}
Expand description
SignalingState indicates the signaling state of the offer/answer process.
Variants
Unspecified
Stable
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
SignalingStateHaveLocalOffer indicates that a local description, of type “offer”, has been successfully applied.
HaveRemoteOffer
SignalingStateHaveRemoteOffer indicates that a remote description, of type “offer”, has been successfully applied.
HaveLocalPranswer
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
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
SignalingStateClosed indicates The PeerConnection has been closed.
Trait Implementations
sourceimpl Clone for RTCSignalingState
impl Clone for RTCSignalingState
sourcefn clone(&self) -> RTCSignalingState
fn clone(&self) -> RTCSignalingState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RTCSignalingState
impl Debug for RTCSignalingState
sourceimpl Default for RTCSignalingState
impl Default for RTCSignalingState
sourceimpl Display for RTCSignalingState
impl Display for RTCSignalingState
sourceimpl From<&str> for RTCSignalingState
impl From<&str> for RTCSignalingState
sourceimpl From<u8> for RTCSignalingState
impl From<u8> for RTCSignalingState
sourceimpl PartialEq<RTCSignalingState> for RTCSignalingState
impl PartialEq<RTCSignalingState> for RTCSignalingState
sourcefn eq(&self, other: &RTCSignalingState) -> bool
fn eq(&self, other: &RTCSignalingState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for RTCSignalingState
impl Eq for RTCSignalingState
impl StructuralEq for RTCSignalingState
impl StructuralPartialEq for RTCSignalingState
Auto Trait Implementations
impl RefUnwindSafe for RTCSignalingState
impl Send for RTCSignalingState
impl Sync for RTCSignalingState
impl Unpin for RTCSignalingState
impl UnwindSafe for RTCSignalingState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more