Enum medea_client_api_proto::IceConnectionState [−][src]
Peer Connection’s ICE connection state.
Variants
ICE agent is gathering addresses or is waiting to be given remote candidates.
ICE agent has been given one or more remote candidates and is checking
pairs of local and remote candidates against one another to try to find
a compatible match, but hasn’t yet found a pair which will allow the
PeerConnection
to be made. It’s possible that gathering of candidates
is also still underway.
Usable pairing of local and remote candidates has been found for all components of the connection, and the connection has been established. It’s possible that gathering is still underway, and it’s also possible that the ICE agent is still checking candidates against one another looking for a better connection to use.
ICE agent has finished gathering candidates, has checked all pairs against one another, and has found a connection for all components.
ICE candidate has checked all candidates pairs against one another and has failed to find compatible matches for all components of the connection. It is, however, possible that the ICE agent did find compatible connections for some components.
Checks to ensure that components are still connected failed for at
least one component of the PeerConnection
. This is a less stringent
test than IceConnectionState::Failed
and may trigger intermittently
and resolve just as spontaneously on less reliable networks, or during
temporary disconnections. When the problem resolves, the connection may
return to the IceConnectionState::Connected
state.
ICE agent for this PeerConnection
has shut down and is no longer
handling requests.
Trait Implementations
impl Clone for IceConnectionState
[src]
fn clone(&self) -> IceConnectionState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IceConnectionState
[src]
impl<'de> Deserialize<'de> for IceConnectionState
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<IceConnectionState> for PeerConnectionState
[src]
fn from(ice_con_state: IceConnectionState) -> Self
[src]
impl PartialEq<IceConnectionState> for IceConnectionState
[src]
fn eq(&self, other: &IceConnectionState) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for IceConnectionState
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for IceConnectionState
[src]
Auto Trait Implementations
impl RefUnwindSafe for IceConnectionState
impl Send for IceConnectionState
impl Sync for IceConnectionState
impl Unpin for IceConnectionState
impl UnwindSafe for IceConnectionState
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>,