Enum webrtc_ice::candidate::CandidatePairState
source · pub enum CandidatePairState {
Unspecified = 0,
Waiting = 1,
InProgress = 2,
Failed = 3,
Succeeded = 4,
}
Expand description
Represent the ICE candidate pair state.
Variants§
Unspecified = 0
Waiting = 1
Means a check has not been performed for this pair.
InProgress = 2
Means a check has been sent for this pair, but the transaction is in progress.
Failed = 3
Means a check for this pair was already done and failed, either never producing any response or producing an unrecoverable failure response.
Succeeded = 4
Means a check for this pair was already done and produced a successful result.
Trait Implementations§
source§impl Clone for CandidatePairState
impl Clone for CandidatePairState
source§fn clone(&self) -> CandidatePairState
fn clone(&self) -> CandidatePairState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CandidatePairState
impl Debug for CandidatePairState
source§impl Default for CandidatePairState
impl Default for CandidatePairState
source§impl<'de> Deserialize<'de> for CandidatePairState
impl<'de> Deserialize<'de> for CandidatePairState
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CandidatePairState
impl Display for CandidatePairState
source§impl From<u8> for CandidatePairState
impl From<u8> for CandidatePairState
source§impl PartialEq for CandidatePairState
impl PartialEq for CandidatePairState
source§fn eq(&self, other: &CandidatePairState) -> bool
fn eq(&self, other: &CandidatePairState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CandidatePairState
impl Serialize for CandidatePairState
impl Copy for CandidatePairState
impl Eq for CandidatePairState
impl StructuralPartialEq for CandidatePairState
Auto Trait Implementations§
impl Freeze for CandidatePairState
impl RefUnwindSafe for CandidatePairState
impl Send for CandidatePairState
impl Sync for CandidatePairState
impl Unpin for CandidatePairState
impl UnwindSafe for CandidatePairState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more