pub enum KnownIceCandidatePairState {
Waiting,
InProgress,
Succeeded,
Failed,
Frozen,
Cancelled,
}
Expand description
Each candidate pair in the check list has a foundation and a state. The foundation is the combination of the foundations of the local and remote candidates in the pair. The state is assigned once the check list for each media stream has been computed. There are five potential values that the state can have.
Variants§
Waiting
Check has not been performed for this pair, and can be performed as soon as it is the highest-priority Waiting pair on the check list.
InProgress
Check has been sent for this pair, but the transaction is in progress.
Succeeded
Check for this pair was already done and produced a successful result.
Failed
Check for this pair was already done and failed, either never producing any response or producing an unrecoverable failure response.
Frozen
Check for this pair hasn’t been performed, and it can’t yet be
performed until some other check succeeds, allowing this pair to
unfreeze and move into the KnownIceCandidatePairState::Waiting
state.
Cancelled
Other Candidate pair was nominated.
This state is obsolete and not spec compliant, however, it still may be emitted by some implementations.
Trait Implementations§
source§impl Clone for KnownIceCandidatePairState
impl Clone for KnownIceCandidatePairState
source§fn clone(&self) -> KnownIceCandidatePairState
fn clone(&self) -> KnownIceCandidatePairState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KnownIceCandidatePairState
impl Debug for KnownIceCandidatePairState
source§impl<'de> Deserialize<'de> for KnownIceCandidatePairState
impl<'de> Deserialize<'de> for KnownIceCandidatePairState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl Hash for KnownIceCandidatePairState
impl Hash for KnownIceCandidatePairState
source§impl PartialEq<KnownIceCandidatePairState> for KnownIceCandidatePairState
impl PartialEq<KnownIceCandidatePairState> for KnownIceCandidatePairState
source§fn eq(&self, other: &KnownIceCandidatePairState) -> bool
fn eq(&self, other: &KnownIceCandidatePairState) -> bool
self
and other
values to be equal, and is used
by ==
.