pub enum RtcIceCandidateType {
Unspecified,
Host,
Srflx,
Prflx,
Relay,
}
Expand description
ICECandidateType represents the type of the ICE candidate used.
Variants§
Unspecified
Unspecified indicates that the candidate type is unspecified.
Host
ICECandidateTypeHost indicates that the candidate is of Host type as described in https://tools.ietf.org/html/rfc8445#section-5.1.1.1. A candidate obtained by binding to a specific port from an IP address on the host. This includes IP addresses on physical interfaces and logical ones, such as ones obtained through VPNs.
Srflx
ICECandidateTypeSrflx indicates the the candidate is of Server Reflexive type as described https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A candidate type whose IP address and port are a binding allocated by a NAT for an ICE agent after it sends a packet through the NAT to a server, such as a STUN server.
Prflx
ICECandidateTypePrflx indicates that the candidate is of Peer Reflexive type. A candidate type whose IP address and port are a binding allocated by a NAT for an ICE agent after it sends a packet through the NAT to its peer.
Relay
ICECandidateTypeRelay indicates the the candidate is of Relay type as described in https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A candidate type obtained from a relay server, such as a TURN server.
Trait Implementations§
source§impl Clone for RtcIceCandidateType
impl Clone for RtcIceCandidateType
source§fn clone(&self) -> RtcIceCandidateType
fn clone(&self) -> RtcIceCandidateType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RtcIceCandidateType
impl Debug for RtcIceCandidateType
source§impl Default for RtcIceCandidateType
impl Default for RtcIceCandidateType
source§fn default() -> RtcIceCandidateType
fn default() -> RtcIceCandidateType
source§impl<'de> Deserialize<'de> for RtcIceCandidateType
impl<'de> Deserialize<'de> for RtcIceCandidateType
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 From<RTCIceCandidateType> for RtcIceCandidateType
impl From<RTCIceCandidateType> for RtcIceCandidateType
source§fn from(candidate_type: RTCIceCandidateType) -> Self
fn from(candidate_type: RTCIceCandidateType) -> Self
source§impl From<RtcIceCandidateType> for RTCIceCandidateType
impl From<RtcIceCandidateType> for RTCIceCandidateType
source§fn from(candidate_type: RtcIceCandidateType) -> Self
fn from(candidate_type: RtcIceCandidateType) -> Self
source§impl JsonSchema for RtcIceCandidateType
impl JsonSchema for RtcIceCandidateType
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for RtcIceCandidateType
impl PartialEq for RtcIceCandidateType
source§fn eq(&self, other: &RtcIceCandidateType) -> bool
fn eq(&self, other: &RtcIceCandidateType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RtcIceCandidateType
impl Serialize for RtcIceCandidateType
impl Copy for RtcIceCandidateType
impl Eq for RtcIceCandidateType
impl StructuralPartialEq for RtcIceCandidateType
Auto Trait Implementations§
impl Freeze for RtcIceCandidateType
impl RefUnwindSafe for RtcIceCandidateType
impl Send for RtcIceCandidateType
impl Sync for RtcIceCandidateType
impl Unpin for RtcIceCandidateType
impl UnwindSafe for RtcIceCandidateType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self
to an expression for Diesel’s query builder. Read more