Struct webrtc::stats::ICECandidatePairStats

source ·
pub struct ICECandidatePairStats {
Show 27 fields pub timestamp: Instant, pub stats_type: RTCStatsType, pub id: String, pub local_candidate_id: String, pub remote_candidate_id: String, pub state: CandidatePairState, pub nominated: bool, pub packets_sent: u32, pub packets_received: u32, pub bytes_sent: u64, pub bytes_received: u64, pub last_packet_sent_timestamp: Instant, pub last_packet_received_timestamp: Instant, pub total_round_trip_time: f64, pub current_round_trip_time: f64, pub available_outgoing_bitrate: f64, pub available_incoming_bitrate: f64, pub requests_received: u64, pub requests_sent: u64, pub responses_received: u64, pub responses_sent: u64, pub consent_requests_sent: u64, pub circuit_breaker_trigger_count: u32, pub consent_expired_timestamp: Instant, pub first_request_timestamp: Instant, pub last_request_timestamp: Instant, pub retransmissions_sent: u64,
}

Fields§

§timestamp: Instant§stats_type: RTCStatsType§id: String§local_candidate_id: String§remote_candidate_id: String§state: CandidatePairState§nominated: bool§packets_sent: u32§packets_received: u32§bytes_sent: u64§bytes_received: u64§last_packet_sent_timestamp: Instant§last_packet_received_timestamp: Instant§total_round_trip_time: f64§current_round_trip_time: f64§available_outgoing_bitrate: f64§available_incoming_bitrate: f64§requests_received: u64§requests_sent: u64§responses_received: u64§responses_sent: u64§consent_requests_sent: u64§circuit_breaker_trigger_count: u32§consent_expired_timestamp: Instant§first_request_timestamp: Instant§last_request_timestamp: Instant§retransmissions_sent: u64

Trait Implementations§

source§

impl Debug for ICECandidatePairStats

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ICECandidatePairStats

source§

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 From<CandidatePairStats> for ICECandidatePairStats

source§

fn from(stats: CandidatePairStats) -> Self

Converts to this type from the input type.
source§

impl Serialize for ICECandidatePairStats

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

source§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

source§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,