pub enum KnownCandidateType {
Host,
Srlfx,
Prflx,
Relay,
}Expand description
RTCIceCandidateType represents the type of the ICE candidate, as defined in Section 15.1 of RFC 5245.
Variants§
Host
Host candidate, as defined in Section 4.1.1.1 of RFC 5245.
Srlfx
Server reflexive candidate, as defined in Section 4.1.1.2 of RFC 5245.
Prflx
Peer reflexive candidate, as defined in Section 4.1.1.2 of RFC 5245.
Relay
Relay candidate, as defined in Section 7.1.3.2.1 of RFC 5245.
Trait Implementations§
Source§impl Clone for KnownCandidateType
impl Clone for KnownCandidateType
Source§fn clone(&self) -> KnownCandidateType
fn clone(&self) -> KnownCandidateType
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 KnownCandidateType
impl Debug for KnownCandidateType
Source§impl<'de> Deserialize<'de> for KnownCandidateType
impl<'de> Deserialize<'de> for KnownCandidateType
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 Hash for KnownCandidateType
impl Hash for KnownCandidateType
Source§impl PartialEq for KnownCandidateType
impl PartialEq for KnownCandidateType
Source§impl Serialize for KnownCandidateType
impl Serialize for KnownCandidateType
impl Copy for KnownCandidateType
impl Eq for KnownCandidateType
impl StructuralPartialEq for KnownCandidateType
Auto Trait Implementations§
impl Freeze for KnownCandidateType
impl RefUnwindSafe for KnownCandidateType
impl Send for KnownCandidateType
impl Sync for KnownCandidateType
impl Unpin for KnownCandidateType
impl UnwindSafe for KnownCandidateType
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