Struct medea_client_api_proto::stats::RtcIceCandidateStats [−][src]
Properties of a candidate
in Section 15.1 of RFC 5245.
It corresponds to a RTCIceTransport object.
RtcStatsType::LocalCandidate
or RtcStatsType::RemoteCandidate
variant.
Fields
transport_id: Option<String>
Unique ID that is associated to the object that was inspected to produce the RTCTransportStats associated with this candidate.
address: Option<String>
Address of the candidate, allowing for IPv4 addresses, IPv6 addresses, and fully qualified domain names (FQDNs).
port: u16
Port number of the candidate.
protocol: Protocol
Valid values for transport is one of udp
and tcp
.
candidate_type: CandidateType
Type of the ICE candidate.
priority: u32
Calculated as defined in Section 15.1 of RFC 5245.
url: Option<String>
For local candidates this is the URL of the ICE server from which the candidate was obtained. It is the same as the url surfaced in the RTCPeerConnectionIceEvent.
None
for remote candidates.
relay_protocol: Option<Protocol>
Protocol used by the endpoint to communicate with the TURN server.
Only present for local candidates.
Trait Implementations
impl Clone for RtcIceCandidateStats
[src]
fn clone(&self) -> RtcIceCandidateStats
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RtcIceCandidateStats
[src]
impl<'de> Deserialize<'de> for RtcIceCandidateStats
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for RtcIceCandidateStats
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<RtcIceCandidateStats> for RtcIceCandidateStats
[src]
fn eq(&self, other: &RtcIceCandidateStats) -> bool
[src]
fn ne(&self, other: &RtcIceCandidateStats) -> bool
[src]
impl Serialize for RtcIceCandidateStats
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RtcIceCandidateStats
[src]
Auto Trait Implementations
impl RefUnwindSafe for RtcIceCandidateStats
impl Send for RtcIceCandidateStats
impl Sync for RtcIceCandidateStats
impl Unpin for RtcIceCandidateStats
impl UnwindSafe for RtcIceCandidateStats
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>,