Enum medea_client_api_proto::PeerConnectionState [−][src]
Peer Connection’s connection state.
Variants
At least one of the connection’s ICE transports are in the
IceConnectionState::New
state, and none of them are in one
of the following states: IceConnectionState::Checking
,
IceConnectionState::Failed
, or
IceConnectionState::Disconnected
, or all of the connection’s
transports are in the IceConnectionState::Closed
state.
One or more of the ICE transports are currently in the process of
establishing a connection; that is, their IceConnectionState
is
either IceConnectionState::Checking
or
IceConnectionState::Connected
, and no transports are in the
IceConnectionState::Failed
state.
Every ICE transport used by the connection is either in use (state
IceConnectionState::Connected
or IceConnectionState::Completed
)
or is closed (IceConnectionState::Closed
); in addition,
at least one transport is either IceConnectionState::Connected
or
IceConnectionState::Completed
.
At least one of the ICE transports for the connection is in the
IceConnectionState::Disconnected
state and none of the other
transports are in the state IceConnectionState::Failed
or
IceConnectionState::Checking
.
One or more of the ICE transports on the connection is in the
IceConnectionState::Failed
state.
The PeerConnection
is closed.
Trait Implementations
impl Clone for PeerConnectionState
[src]
fn clone(&self) -> PeerConnectionState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PeerConnectionState
[src]
impl Debug for PeerConnectionState
[src]
impl<'de> Deserialize<'de> for PeerConnectionState
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for PeerConnectionState
[src]
impl From<IceConnectionState> for PeerConnectionState
[src]
fn from(ice_con_state: IceConnectionState) -> Self
[src]
impl PartialEq<PeerConnectionState> for PeerConnectionState
[src]
fn eq(&self, other: &PeerConnectionState) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for PeerConnectionState
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for PeerConnectionState
[src]
impl StructuralPartialEq for PeerConnectionState
[src]
Auto Trait Implementations
impl RefUnwindSafe for PeerConnectionState
impl Send for PeerConnectionState
impl Sync for PeerConnectionState
impl Unpin for PeerConnectionState
impl UnwindSafe for PeerConnectionState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,