Struct medea_client_api_proto::stats::RtcIceServerStats[][src]

pub struct RtcIceServerStats {
    pub url: String,
    pub port: u16,
    pub protocol: Protocol,
    pub total_requests_sent: Option<u64>,
    pub total_responses_received: Option<u64>,
    pub total_round_trip_time: Option<HighResTimeStamp>,
}
This is supported on crate feature extended-stats only.

Information about the connection to an ICE server (e.g. STUN or TURN).

RtcStatsType::IceServer variant.

Full doc on W3C.

Fields

url: String

URL of the ICE server (e.g. TURN or STUN server).

port: u16

Port number used by the client.

protocol: Protocol

Protocol used by the client to connect to ICE server.

total_requests_sent: Option<u64>

Total amount of requests that have been sent to this server.

total_responses_received: Option<u64>

Total amount of responses received from this server.

total_round_trip_time: Option<HighResTimeStamp>

Sum of RTTs for all requests that have been sent where a response has been received.

Trait Implementations

impl Clone for RtcIceServerStats[src]

impl Debug for RtcIceServerStats[src]

impl<'de> Deserialize<'de> for RtcIceServerStats[src]

impl Hash for RtcIceServerStats[src]

impl PartialEq<RtcIceServerStats> for RtcIceServerStats[src]

impl Serialize for RtcIceServerStats[src]

impl StructuralPartialEq for RtcIceServerStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.